[prev] 9 [next]

Testing Strategy (cont)

Realistic testing:
  • determine classes/partitions of input data set
  • choose representative input values from each class
  • determine expected output for each input
  • execute program using all representative inputs
If, for each input, the program gives the expected output, then
  • we have increased our confidence that the program works OK
  • but we have not demonstrated that the program is correct