THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
Excerpt | ||
---|---|---|
| ||
Running and Writing OpenJPA unit tests |
Running and Writing Tests with OpenJPA
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:
...