Validation techniques Flashcards
1
Q
How is validation different to testing?
A
Validation checks that input data are reasonable. Validation cannot check that inputs are accurate.
2
Q
Create a table listing what validation does and does not do.
A
Validation can check:
Existence
Data type
Range checks
Format
Consistency
Reasonableness
Validation cannot check:
Accuracy
Whether the number is correct
If the calculation is working
Wrong data
3
Q
List three types of validation.
A
- Existence checks ensure that a value has been entered and the field is not blank, or <null>.</null>
- Type checks ensure data is of the right type.
- Range checks ensure that data is within acceptable limits or comes from a list of acceptable values.
- Format checks ensure that data is in the correct format.
- Consistency checks perform a comparison between different entries .
e.g. via use of surveys - Reasonableness checks consider whether the inputs are plausible.