So I guess it depends on what you mean by publish.OpenJPA build process will create a OPENJAP_TESTS.zip containing
As it turns out, PersistenceTestCase, and SingleEMFTestCase (probably the three most useful bits of JUnit-infrastructure) don't have much in the way of external dependencies. We could simply include those two classes in the normal openjpa.jar, maybe renaming them to PersistenceTestBaseClass and SingleEMFTestBaseClass to avoid potential issues with test-running infrastructures that scan the entire classpath for things ending in TestCase.
-Patrick On Jul 3, 2008, at 11:35 AM, Pinaki Poddar wrote:
I am in quite agreement with Mike's observations.So I guess it depends on what you mean by publish.OpenJPA build process will create a OPENJAP_TESTS.zip containing1. src/... includes Java source code for 4-5 basic test classes such as SingleEMFTestCase etc. It will not include the actual tests or just may be afew as exemplars.2. OPENJPA-TESTS.jar contains compiled class files that are in src/...tree 3. HowToWriteATest.txt4. A maven/ant build script that packs a user-written test in a way thatwhen attached in JIRA can be easily ovelaid on our code repository This OPENJPA_TESTS.zip will be available in http://openjpa.apache.org.These artifacts will also be added to maven repository so that users can simply add the following to their own pom.xml as per Mike's observation.Detection of duplicate test is not critical at this juncture. To document what the available test corpus covers is a separate and broader activity.The submission of tests by the users has to go through a committer anyway and that process will filter out some duplications. The 4th artifact i.e. ascript supplied with OPENJPA-TESTS.zip is to facilitate the process of absorbing the users' contribution into the code repository.An important blocker for this issue is, of course, current inability toinclude tests that do not pass (OPENJPA-123). -- View this message in context: http://n2.nabble.com/Collaborative-Testing-tp220418p220542.html Sent from the OpenJPA Developers mailing list archive at Nabble.com.
-- Patrick Linskey 202 669 5907
smime.p7s
Description: S/MIME cryptographic signature
