QuestionQ50

Chapter 1: Fundamentals of Testing

Consider these characteristics of test techniques:

(i) They are based on analysis of the software model.

(ii) They are based on analysis of the test object’s internal structure.

(iii) The resulting test cases are independent of the way the software is implemented.

(iv) It is hard to define exact coverage measures for these techniques.

(v) Their effectiveness relies heavily on the tester’s skills and creativity.

Which characteristics describe black-box, white-box, and experience-based test techniques?

  • A (iii), (v) - black-box; (ii), (iv) - white-box; (i) - experience-based
  • B (ii), (iv) - black-box; (i), (v) - white-box; (iii) - experience-based
  • C (i) - black-box; (ii), (iii) - white-box; (iv), (v) - experience-based
  • D (i), (iii) - black-box; (ii) - white-box; (iv), (v) - experience-based
Explanation

Black-box techniques are specification/model-based and produce tests independent of the implementation. White-box techniques examine the test object’s internal structure. Experience-based techniques depend strongly on tester knowledge, skills, and creativity, and their coverage is difficult to measure precisely.

Learn more

Community Discussion

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