[ 
https://issues.apache.org/jira/browse/OPENJPA-942?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Richard Zowalla resolved OPENJPA-942.
-------------------------------------
    Resolution: Fixed

Already fixed in an earlier release (f5cc8d8b9 (@DatabasePlatform)); closing.

> 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
>            Priority: Major
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> 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 was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to