Test Cases

 [Previous Chapter]  [Previous Page]  [Contents]  [Next Page]  [Next Chapter]

*A test case for unit-tests specifies

*concrete steps which establish an initial state,
 
*some invocations of query methods,
 
*and the expected results.
 

*Likewise, a test case for higher-order testing specifies

*some input (or some actions on a graphical user interface),
 
*and the desired outcome.
 

*Test cases must be concrete and consequently specify concrete values. A test case is not sufficiently described if you tell ``something'' has to be passed to a method.
 
*The point is that results of performed test cases must be reproducible.
 

 [Previous Chapter]  [Previous Page]  [Contents]  [Next Page]  [Next Chapter]
Copyright © 2001, 2002 Andreas Borchert, converted to HTML on February 11, 2002