[infinispan-issues] [JBoss JIRA] (ISPN-7267) Allow skipping tests based on certain condition

Tristan Tarrant (JIRA) issues at jboss.org
Wed Feb 1 09:10:00 EST 2017


     [ https://issues.jboss.org/browse/ISPN-7267?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tristan Tarrant updated ISPN-7267:
----------------------------------
           Status: Resolved  (was: Pull Request Sent)
    Fix Version/s: 9.0.0.CR1
       Resolution: Done


> Allow skipping tests based on certain condition
> -----------------------------------------------
>
>                 Key: ISPN-7267
>                 URL: https://issues.jboss.org/browse/ISPN-7267
>             Project: Infinispan
>          Issue Type: Enhancement
>            Reporter: Sebastian Łaskawiec
>            Assignee: Sebastian Łaskawiec
>             Fix For: 9.0.0.CR1
>
>
> It would be useful if we could skip tests per OS, e.g. skip Level DB JNI tests for Solaris.
> In order to achieve this, we will need a separate implementation for JUnit and TestNG (mainly because TestNG allows incorrectly spelled groups, like JUnit Categories, and JUnit fails the build on missing groups; so we can't have both). 
> TestNG implementation would require an [AnnotationTransformer|http://testng.org/doc/documentation-main.html#annotationtransformers] whereas JUnit a [Rule|https://gist.github.com/yinzara/9980184]. Plus proper annotations like {{@skipOnWindows}} or anything similar.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)



More information about the infinispan-issues mailing list