labs / tiddlers / content / labs / lab02 / _Labs_02_Create the Test

NetBeans can create the basic test class for us:

  1. Right click your Calculator class in the <

    > pane and select < Create/Update Tests">>.

  2. The default class name should be OK. Set the rest of the options as follows:

    {{/Labs/02/Diagrams/Create Tests Dialog}}

    These are fairly typical settings for creating test classes.

  3. Click <

    >. The test class will be created, and opened.