Sebastian Łaskawiec created ISPN-7267:
-----------------------------------------
Summary: 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
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#annot...]
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)