Software Testing

Black Box Testing: Test Requirements

Black Box Testing: Test Requirements

When testing a program, you should ensure that all of the customer requirements are tested at least once. Our Paycheck program has the requirement that if the net pay is negative, meaning the deductions exceeds the gross pay, then an error is printed. The following test case would test that requirement. The bold text in the description shows the values the tester would enter into the Paycheck program at the given prompts.

Test ID Description Expected Results Actual Results
Boundary regular hours,
All insurances,
Level 1
Preconditions: Paycheck program started
Employee Name: Alice Anderson
Employee Level: 1
Hours Worked: 0
Medical Insurance (Y/N): Y
Dental Insurance (Y/N): Y
Vision Insurance (Y/N): Y
Error Message