volume_mute

Two Strategies for Choosing Test Cases

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

volume_mute

Two key strategies help choose effective unit test cases. Match each strategy to its correct description.

To complete the line match

  1. Click on an item in the first group
  2. Click on the match in the second group

To delete a match, double click on a line

Strategy

Partition testing
Guideline-based testing

Description

Identify groups of inputs that have common characteristics and should be processed in the same way, then choose tests from within each group
Use testing guidelines based on previous experience of common errors to choose test cases

Correct Answer

(1) Partition testing,Identify groups of inputs that have common characteristics and should be processed in the same way, then choose tests from within each group
(2) Guideline-based testing,Use testing guidelines based on previous experience of common errors to choose test cases

Explanation

Two effective test-case selection strategies are: (1) Partition testing - identifying groups of inputs with common characteristics that are processed the same way, then selecting tests from each group; (2) Guideline-based testing - using guidelines that reflect previous experience of common programmer errors to select test cases.

Reference

Software Engineering, Ian Sommerville, 10th edition


Quizzes you can take where this question appears