QuestionQ28

Test Analysis and Test Design

A specification states:

> If the fossil is Jurassic in origin, it must be catalogued under Mesozoic post Triassic and cross referred to politic limestone.

> If it is a tooth, it must be catalogued under Dental remains. If the fossil is both Jurassic in origin and a tooth, it will be catalogued under Mesozoic post Triassic and cross referred to politic limestone only.

A tester analyzes this for decision-table testing and identifies the following conditions and actions:

  • C1: Jurassic
  • C2: tooth
  • A1: Catalogue as Mesozoic post Triassic
  • A2: Cross refer to politic limestone
  • A3: Catalogue as Dental remains

How many test cases will a collapsed decision table contain?

Explanation

The Jurassic condition determines the same actions—cataloguing under Mesozoic post Triassic and cross-referencing to politic limestone—regardless of whether the fossil is a tooth. Those two rules therefore collapse into one. The remaining cases are a non-Jurassic tooth, which is catalogued as Dental remains, and a non-Jurassic non-tooth, which has no specified action, giving three test cases.

Community Discussion

No comments yet. Be the first to start the discussion!