Ten is just too young
Oakfield Youth Club is made up. Its members must be 11 to 19. A volunteer tests the new form with an age of 14. It works, so she says it is finished.
Then a member of 10 is added by mistake. Nobody tested the edge. A test plan (a table of tests) makes sure the important cases are tried and written down.
By the end of this lesson
Note
I can write a test plan (a table of tests) with test data (the values you try) and use the results to improve my tables.
Key words
| Word | What it means |
|---|---|
| Test plan | a table of tests, with what should happen in each |
| Test data | the values you try in a test |
| Normal data | test data that should be accepted |
| Boundary data | test data right on the edge of a limit |
| Erroneous data | test data that is wrong and should be refused |
| Functionality | whether each part does its job |
| Usability | how easy a system is to use |
The cells students fill in are left blank in this preview.
Starter: what you already know
Have a go
Starter: what you already know
4 questionsYour answers are marked here and are not kept. A college account keeps every student’s marks.
Testing checks two things
Testing functionality asks: does each part do its job? Does the form save a record? Does the age limit refuse a wrong age?
Testing usability asks: is it easy to use? Ask other people to try it, and listen to their feedback. A person who did not build it sees problems you cannot.
Worked example: a test plan
| No | Test | Test data | Expected | Actual | Pass or fail |
|---|---|---|---|---|---|
| 1 | Add a member | Age 14 | Accepted | Accepted | Pass |
| 2 | Lowest age | Age 11 | Accepted | Accepted | Pass |
| 3 | Just too low | Age 10 | Refused | Accepted | Fail |
| 4 | Wrong age | Age 150 | Refused | Refused | Pass |
The cells students fill in are left blank in this preview.
Check
Have a go
Check
3 questionsYour answers are marked here and are not kept. A college account keeps every student’s marks.