A testcase should be made of two parts. What to do and what should happen.
An example for Super Mario Bros.
Jumping on the top of the flag pole at the end of every level should award 5000 points.
Collecting 100 coins should award a 1-up.
Every game with have 1000's (if not more) of testcases.
|