3-4 Types of Test Data 2
3-4 Types of Test Data 2
???
Development
and
Programming
Design
Analysis
Types of test data
Learning objectives:
1 2 3
perform testing perform testing perform testing
using normal using extreme using
data data erroneous data
Assessment criteria
Expected Purpose:
Outcome: • To confirm that the
• The system should program behaves
process the input as expected when
without errors and valid and typical
return the correct input values are
output. provided.
Testing Using Extreme Data
Extreme data testing is done by entering values
at the boundary limits of what is acceptable. It
checks how the system behaves when it
encounters the maximum or minimum input
values.
Testing Using Extreme Data
Expected Outcome:
• The system should Purpose:
return accurate results • To ensure the system
even at the can handle edge cases
boundaries, ensuring without failure, like
it handles the smallest the highest or lowest
and largest inputs possible inputs.
without errors.
Testing Using Erroneous Data
Testing with erroneous data involves inputting
invalid data types or values that fall outside the
expected range. This tests the system's ability to
handle invalid data gracefully.
Testing Using Erroneous Data
Abnormal: -5
Extreme: 1, 500
See appendix 1
GROUP WORK
Task (individual)
Give examples of test data for the following sticker
https://padlet.com/pranik
ula/mffyud6gmfb8cndv
Selecting
Marks for course work Bank working E-mail password on
time registration page
Date of birthday
Grades in your school Triangle angle of 15 year olds IELTS exam result
(for today)
The username for a system that must There should Someone’s hair The name of a
be on the form be no more color team should be
“<letter><letter><digit><digit>” than 15 no longer than
minutes extra 20 characters
time in a game
Test plan
When a system is designed it is important that
some consideration is given to making sure that
no mistakes have been made. A schedule should
be draw up which contains a test for every type
of input that could be made.
Test No. Test
Building
Test
a test Plan
Test Data Expected Actual Reference
objective method used Outcome outcome
You will describe what the test is looking for and how
Expected outcome
you will perform it
Describe what you are expecting to see, this is what Test Data
your result screen shot should show happening
Explain whether it passed or failed, if it fails you need
to explain what went wrong, if it works explain that it Reference
works.
There is little evidence of testing with a badly developed test plan with clear 2 -3
omissions. A small number of tests have been carried out, which demonstrate
that some parts of the solution work/some outcomes of the investigation are
achieved.
There should be hardcopy evidence of most of the objectives’ test runs cross- 4-5
referenced to the test plan. Tests include cases with valid, invalid and extreme
data. However, not all cases have been tested or not clearly presented evidences
for some tests.
The tests completed should show that the system developed has fulfilled all its 6-7
objectives and demonstrates the scope of the final system. Tests include clear
evidences for cases with valid, invalid and extreme data.
Teacher will read
statements. Raise your I can distinguish test
Reflection hand if you agree. data
(Self-assessment)
http://13.234.219.125:3000/past_topicals/4.4.2%20Testing%20PP.pdf
BBC Bitesize
TeachICT