next up previous
Next: 1.7.2 An Extended Example: Up: 1.7.1 The Design Recipe Previous: 1.7.1.5 Body

1.7.1.6 Test

For each major class C or composite hierarchy of classes in a Java program the programmer should write a test class TestC including a test method that evaluates each publicly visible operation of C on appropriate sample data values (both instances of C and the method arguments). This process is described in much more detail in Section 1.8.



Corky Cartwright 2002-08-09