Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-7267

Allow skipping tests based on certain condition

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 9.0.0.CR1
    • None
    • None
    • None

    Description

      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 whereas JUnit a Rule. Plus proper annotations like @skipOnWindows or anything similar.

      Attachments

        Issue Links

          Activity

            People

              slaskawi@redhat.com Sebastian Łaskawiec (Inactive)
              slaskawi@redhat.com Sebastian Łaskawiec (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: