You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Michael Dick (JIRA)" <ji...@apache.org> on 2009/06/09 03:50:07 UTC

[jira] Commented: (OPENJPA-1130) Create a openjpa-testsupport module to share base TestCase classes across modules

    [ https://issues.apache.org/jira/browse/OPENJPA-1130?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12717519#action_12717519 ] 

Michael Dick commented on OPENJPA-1130:
---------------------------------------

I believe the ideal solution is to use the maven jar plugin to create an openjpa-persistence-jdbc-test artifact. That artifact can then be used in downstream modules like any other dependency. 

Similarly we could move some of the persistence API agnostic tests to openjpa-kernel or openjpa-jdbc. 

Creating a new module is another way to approach the problem but it seems like overkill to me.

> Create a openjpa-testsupport module to share base TestCase classes across modules
> ---------------------------------------------------------------------------------
>
>                 Key: OPENJPA-1130
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1130
>             Project: OpenJPA
>          Issue Type: Test
>          Components: build / infrastructure
>            Reporter: Donald Woods
>            Assignee: Donald Woods
>             Fix For: 2.0.0
>
>
> Propose moving openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/test/* base testcase classes to a openjpa-testsupport JAR which can be shared between o-p-j, openjpa-slice and new ones being added to openjpa-integration for bean validation and eventually OSGi.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.