QuestionQ115

VerifiedChapter 4: Test Analysis and Design

You are testing a system that grants driving licences. You create test cases using the following minimized decision table.

Question Image

You have already designed the following three test cases:

  • 18 years old, passed both vision and driving tests; expected result: grant a license
  • 17 years old, passed vision test, failed driving test; expected result: do not grant a license
  • 19 years old, failed both vision and driving tests; expected result: do not grant a license

Which test case must be added to this set to obtain full decision table coverage?

Explanation

Full decision table coverage requires at least one test for every rule. The uncovered rule is an applicant aged 18 or older who passes the vision test but fails the driving test; the licence must not be granted.

Community Discussion

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