Testing and Test Data Flashcards
Why does a program need tested?
To make sure there aren’t any errors.
What are the two types of testing?
Iterative testing
Terminal (final) testing
What is iterative testing?
Testing during development, e.g. throughout the writing of the code.
What is terminal (final) testing?
Testing done at the end to make sure that no errors occur when all the modules interact with each other. Making sure you have a working program to release.
What are the 4 types of test data?
Normal
Boundary
Invalid
Erroneous
In terms of test data, what is NORMAL?
What you would expect to be input, somewhere in a range, such as the middle value, e.g. range 1-10, 5 is entered.
In terms of test data, what is BOUNDARY?
The limits of what should be expected, e.g. range 1-10, 1 is entered to test the lower boundary and 10 is entered to test the upper boundary.
In terms of test data, what is INVALID?
Correct data type that should not be accepted because it is outside of the range, such as the middle value, e.g. range 1-10, 16 is entered.
In terms of test data, what is ERRONEOUS?
The wrong data type, such as the middle value, e.g. range 1-10, “five” is entered.
What is the purpose of test data?
So the programmer can check that the program is thoroughly tested and works as intended.