volume_mute

What Makes a Good Test Case Set

publish date2026/06/17 05:49:36.783715 UTC

volume_mute

When designing unit test cases, two kinds of test cases should be created. Which of the following correctly describes both kinds? Select all that apply.

Correct Answer

(1) Test cases that reflect normal operation of the program and show that the component works
(2) Test cases based on testing experience of common problems that use abnormal inputs
(3) Test cases that check abnormal inputs are properly processed without crashing

Explanation

Two kinds of test cases are needed: (1) Normal operation test cases - reflecting expected use, showing the component works correctly; (2) Abnormal input test cases - based on experience of where common problems arise, using unusual or boundary inputs to verify they are handled correctly and do not crash the component.

Reference

Software Engineering, Ian Sommerville, 10th edition


Quizzes you can take where this question appears