2.3 Producing Robust Programs Flashcards
1
Q
What are the five types of input validation?
A
Presence check
Range check
Format check
Type check
Length check
2
Q
What are the four types of tests?
A
Normal tests
Boundary tests
Erroneous tests
Invalid tests
3
Q
What test is it when the data is accepted?
A
Normal test
4
Q
What test is it when data is on the edge of what is acceptable?
A
Boundary test
5
Q
What test is it when data is the wrong data type?
A
Erroneous test
6
Q
What test is it when data is the right data type but is outside what is accepted?
A
Invalid test