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

Donald Woods updated OPENJPA-998:
---------------------------------

    Attachment: OPENJPA-998.patch

Patch that adds @Ignore annotation support for test methods and classes.
Also adds output when a test is skipped due to using the existing 
@DatabasePlatform annotation.
Updates @DatabasePlatform annotation so it can also be used on individual 
methods, instead of only at the class level.
Updates ClassSelector so the user can supply an Annotation class to search for 
instead of the default org.apache.openjpa.persistence.test.AllowFailure and 
provides usage details if an arg with "?" is given.


> Add @Ignore annotation support for testcases
> --------------------------------------------
>
>                 Key: OPENJPA-998
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-998
>             Project: OpenJPA
>          Issue Type: Test
>          Components: build / infrastructure
>            Reporter: Donald Woods
>            Assignee: Donald Woods
>            Priority: Minor
>             Fix For: 2.0.0
>
>         Attachments: OPENJPA-998.patch
>
>
> Add a new @Ignore annotation for testcases (identical function to the one in 
> JUnit 4.x) which allows methods or classes to be ignored/skipped during the 
> test phase.
> This will allow us to always skip bad tests, that shouldn't even be run when 
> the surefire excludes list is removed.

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

Reply via email to