QuestionQ71

VerifiedTest Analysis and Test Design

You are applying simplified coverage for domain testing. The equation under test is as follows:

Question Image

Which set of values for x must be tested to obtain 100% simplified coverage?

Explanation

Simplified domain coverage (Jeng et al., 1994) requires, for an equality condition (=), one ON point and two OFF points located on different sides of the border, with each OFF point as close as possible to the ON point according to the given precision. For MoneyPaid = 10.00 with a precision of 0.01, the ON point is 10.00 and the two OFF points are 9.99 and 10.01. The set 10.00, 10.01, 9.99 therefore gives 100% simplified coverage. A set with only one OFF point (such as 10.00 and 9.00) leaves one side of the border untested, and 9.00 is not the closest value to the border.

Learn more

Community Discussion

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