Upload
bartholomew-watkins
View
214
Download
0
Embed Size (px)
Citation preview
Learning Objective
LO: We’re learning to test out application against our requirements
Setting the scene….Remember the requirements for your game!:
It must be funIt must be educationalIt must allow the user to interact with the screenIt should include scoring elementsIt should include soundsInclude information about your school.
Testing….Once your game is finished, it is important to carry out testing.
The first thing you have to do is plan out your tests. You need to make sure that you know what you’re looking for.
You need to make sure that you look at each individual element against your requirements.
Setting the scene….The test plan should include:
Test for every input control on the user interface.All three types of test data, in every place where data is input.Check against the user requirements.Test each part separately.
You’re likely to do better with your plan ifyou describe your test as clear as possible.
Example Test Plan….Reason for test
Test data Expected Output Actual Output
Next Steps
1. Test ‘main menu’ button works
Click main menu button. Main menu form is displayed.
2. Test age input box works.
a) Normal data – 25b) Extreme data – 120c) Impossible data - ZZ
a) Age appears on the form.
b) Age appears on the form.
c) Error message ‘Please enter a number’
Example Test Plan….Reason for test
Test data Expected Output Actual Output
Next Steps
1. Test ‘main menu’ button works
Click main menu button. Main menu form is displayed. Main menu did not open.
Make corrections to the main menu.
2. Test age input box works.
a) Normal data – 25b) Extreme data – 120c) Impossible data - ZZ
a) Age appears on the form.b) Age appears on the form.c) Error message ‘Please
enter a number’
a) Age appears in form.
b) Age appears in form.
c) Program crashes. See screen shot 2C
None – test passedNone – test passedMake corrections to data input.
Task….Split up each of your forms into individual elements. Plan out different types of tests
Normal Data – Correct AnswerExtreme Data – Something WrongImpossible Data – Things you shouldn’t be ableto do.
Carry out your tests and make the changesto your code.