Class IsTestClassWithTests

  • All Implemented Interfaces:
    Predicate<Class<?>>

    @API(status=INTERNAL,
         since="5.1")
    public class IsTestClassWithTests
    extends Object
    implements Predicate<Class<?>>
    Test if a class is a JUnit Jupiter test class containing executable tests, test factories, test templates, or nested tests.
    Since:
    5.0
    • Field Detail

      • isTestOrTestFactoryOrTestTemplateMethod

        public static final Predicate<Method> isTestOrTestFactoryOrTestTemplateMethod
    • Constructor Detail

      • IsTestClassWithTests

        public IsTestClassWithTests()