You are welcome to contribute new test cases. Following are few suggestions and guidelines on how to contribute new test case to OpenJPA repository of 2000 test cases spread across 400 classes.
Unit Tests are
As a test developer, you should inherit your test class from one of the extended TestCases. In general, |
|
|
Prefer annotation over XML Descriptors for O-R Mapping because that helps to collocate relevant information. Unless, of course, the test is specific about variations in behavior across annotation and XML Descriptors. |
For verification, use many assertion methods provided by |
Create a JIRA issue. Refer to the JIRA issue in the comments section of the new test case. |
Remember to include ASF License header in the comment section of all the new source or resource files. |
Package all the *.java files related to your test case in a JAR file and attach it to JIRA issue you have created. |