Uses of Interface
org.junit.platform.engine.DiscoverySelector
-
Packages that use DiscoverySelector Package Description org.junit.platform.engine Public API for test engines.org.junit.platform.engine.discovery org.junit.platform.launcher.core Core support classes for theLauncherincluding theLauncherFactoryand theLauncherDiscoveryRequestBuilder. -
-
Uses of DiscoverySelector in org.junit.platform.engine
Methods in org.junit.platform.engine with type parameters of type DiscoverySelector Modifier and Type Method Description <T extends DiscoverySelector>
List<T>EngineDiscoveryRequest. getSelectorsByType(Class<T> selectorType)Get theDiscoverySelectorsfor this request, filtered by a particular type. -
Uses of DiscoverySelector in org.junit.platform.engine.discovery
Classes in org.junit.platform.engine.discovery that implement DiscoverySelector Modifier and Type Class Description classClasspathResourceSelectorADiscoverySelectorthat selects the name of a classpath resource so thatTestEnginescan load resources from the classpath — for example, to load XML or JSON files from the classpath, potentially within JARs.classClasspathRootSelectorADiscoverySelectorthat selects a classpath root so thatTestEnginescan search for class files or resources within the physical classpath — for example, to scan for test classes.classClassSelectorADiscoverySelectorthat selects aClassor class name so thatTestEnginescan discover tests or containers based on classes.classDirectorySelectorADiscoverySelectorthat selects a directory so thatTestEnginescan discover tests or containers based on directories in the file system.classFileSelectorADiscoverySelectorthat selects a file so thatTestEnginescan discover tests or containers based on files in the file system.classMethodSelectorADiscoverySelectorthat selects aMethodor a combination of class name, method name, and parameter types so thatTestEnginescan discover tests or containers based on methods.classModuleSelectorADiscoverySelectorthat selects a module name so thatTestEnginescan discover tests or containers based on modules.classPackageSelectorADiscoverySelectorthat selects a package name so thatTestEnginescan discover tests or containers based on packages.classUniqueIdSelectorADiscoverySelectorthat selects aUniqueIdso thatTestEnginescan discover tests or containers based on unique IDs.classUriSelectorADiscoverySelectorthat selects aURIso thatTestEnginescan discover tests or containers based on URIs. -
Uses of DiscoverySelector in org.junit.platform.launcher.core
Methods in org.junit.platform.launcher.core with parameters of type DiscoverySelector Modifier and Type Method Description LauncherDiscoveryRequestBuilderLauncherDiscoveryRequestBuilder. selectors(DiscoverySelector... selectors)Add all of the suppliedselectorsto the request.Method parameters in org.junit.platform.launcher.core with type arguments of type DiscoverySelector Modifier and Type Method Description LauncherDiscoveryRequestBuilderLauncherDiscoveryRequestBuilder. selectors(List<? extends DiscoverySelector> selectors)Add all of the suppliedselectorsto the request.
-