openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pinaki Poddar (JIRA)" <j...@apache.org>
Subject [jira] Created: (OPENJPA-942) Allow test to specify target database platform
Date Wed, 25 Feb 2009 20:49:01 GMT
Allow test to specify target database platform
----------------------------------------------

                 Key: OPENJPA-942
                 URL: https://issues.apache.org/jira/browse/OPENJPA-942
             Project: OpenJPA
          Issue Type: Improvement
            Reporter: Pinaki Poddar


Some tests are targeted for specific databases. But mostly the tests run on all supported
databases. Currently, the tests do not (or can not) specify their target database, if any.
This improvement will introduce the following:

Annotate a TestCase with
@DatabasePlatform("a,b,c")

where "a", "b", "c" denote fully-qualified class names of JDBC drivers. 

When a test is annotated then at least one of these drivers must be found in the current test's
execution classpath for  the test to run. Otherwise test harness will not execute the test.

If no annotation is specified then the test is assumed to run in all platforms.


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


Mime
View raw message