Versions Compared

Key

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

In NetBeans, right click the file you are creating tests for. Under Tools=>Create Tests, a dialog should come up:

Image Added

Give it a class name (the automatic one should be fine) and make sure the location is in Test Packages

To add in data to be tested for a table, make sure to add a Test-inititalData.xml file into your src/test/resources:

...