Class IsTestClassWithTests

java.lang.Object
org.junit.jupiter.engine.discovery.predicates.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 Details

    • isTestOrTestFactoryOrTestTemplateMethod

      public static final Predicate<Method> isTestOrTestFactoryOrTestTemplateMethod
  • Constructor Details

    • IsTestClassWithTests

      public IsTestClassWithTests()
  • Method Details