Class TestRuleIgnoreTestSuites

  • All Implemented Interfaces:
    org.junit.rules.TestRule

    public final class TestRuleIgnoreTestSuites
    extends Object
    implements org.junit.rules.TestRule
    This rule will cause the suite to be assumption-ignored if the test class implements a given marker interface and a special property is not set.

    This is a workaround for problems with certain JUnit containers (IntelliJ) which automatically discover test suites and attempt to run nested classes that we use for testing the test framework itself.