Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: changed link to point to the correct location

...

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

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

...