]
Sebastian Łaskawiec updated ISPN-7267:
--------------------------------------
Status: Open (was: New)
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.