Newer
Older
labs / tiddlers / content / labs / lab02 / _Labs_02_Test Classes.md
  1. Generate test classes as you did in section <>. You will need to do this for both domain classes.

  2. NetBeans will generate test methods for all of the public methods in the domain classes including the simple getter/setter methods. It is pretty much a waste of time to test the getter/setter methods. We are only really interested in the four methods that appear in the <>.

  3. Delete the test methods that are not related to the methods in the class diagram. You can also delete the constructors.