5. Test data

It is important that any testing which checks the validation routines should include:

Normal data

Data that is within the normal range and will be accepted

Extreme data

Data that is on the extreme limits of the range but should be accepted e.g. if the validation says that price <=£100 then £100 should be tested as that is right at the outer limit.

Erroneous data

Data that should fail should be tested. For the test mentioned previously, the test might be: enter £100.01

 

challenge see if you can find out one extra fact on this topic that we haven't already told you

Click on this link: Test Data