Versions Compared

Key

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

...

OpenJPA's unit tests are written using JUnit. For a template for a simple test case, see the code for TestPersistence.java.

If you want to contribute your own test case then follow the guidelines.

Once you have downloaded and built OpenJPA (see Building OpenJPA), you can run individual tests using the "test" goal to maven. For example:

...