Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To add a test case from Netbeans, expand the project navigation window to the "Test Sources" folder. Right-click on the package where the test case should be added. In this case, the base package area is used, but you should use the actual package of the class being tested.

Now type in the name of the class and click "Finish". Follow the template given previously to write the actual test case.