Choosing Test Data
Normal, extreme, boundary and abnormal values each test a different part of a validation rule, and only the right mix of tests catches every fault.
↺
What does the rule accept?
Edit Input so Accepted and Rejected each contain one of your inputs; press Run.
Seeds per tray14–22 inclusive · whole numbers
Test plan
Seeds per tray14–22 inclusive · whole numbers
Program C
Logic error- INPUT Raw
- IF IsWholeNumber(Raw) THEN
- Value ← ToNumber(Raw)
- IF ValueAND Value <= 22 THEN
- OUTPUT "accepted"
- ELSE
- OUTPUT "rejected"
- ENDIF
- ELSE
- OUTPUT "rejected"
- ENDIF
No input has run yet.
ProgramsStandard follows the rule
Standard follows the rule.
Accepted
No input yet
Rejected
No input yet
Original tests
Kept for every run
Current rule
Program
Test plan
1 inputEarlier results
Earlier plans
Input has not run yet.
Catching these faulty versions does not prove that every possible fault has been found. This bench uses short validation programs.