QuestionQ54

VerifiedChapter 4: Test Analysis and Design

You are applying boundary value analysis to select test data.

Which values should be used to test a routine that requires an integer input (x) to be greater than zero and less than 100, in order to achieve 100% minimum coverage using the two-point boundary value analysis technique?

Explanation

For an integer range with the valid condition 0 < x < 100, two-point boundary value analysis tests each boundary and its immediately adjacent value within the valid range. The required pairs are 0 and 1 at the lower boundary, and 99 and 100 at the upper boundary.

Community Discussion

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