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 theLauncher
including theLauncherFactory
and 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 theDiscoverySelectors
for 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 class
ClasspathResourceSelector
ADiscoverySelector
that selects the name of a classpath resource so thatTestEngines
can load resources from the classpath — for example, to load XML or JSON files from the classpath, potentially within JARs.class
ClasspathRootSelector
ADiscoverySelector
that selects a classpath root so thatTestEngines
can search for class files or resources within the physical classpath — for example, to scan for test classes.class
ClassSelector
ADiscoverySelector
that selects aClass
or class name so thatTestEngines
can discover tests or containers based on classes.class
DirectorySelector
ADiscoverySelector
that selects a directory so thatTestEngines
can discover tests or containers based on directories in the file system.class
FileSelector
ADiscoverySelector
that selects a file so thatTestEngines
can discover tests or containers based on files in the file system.class
MethodSelector
ADiscoverySelector
that selects aMethod
or a combination of class name, method name, and parameter types so thatTestEngines
can discover tests or containers based on methods.class
ModuleSelector
ADiscoverySelector
that selects a module name so thatTestEngines
can discover tests or containers based on modules.class
PackageSelector
ADiscoverySelector
that selects a package name so thatTestEngines
can discover tests or containers based on packages.class
UniqueIdSelector
ADiscoverySelector
that selects aUniqueId
so thatTestEngines
can discover tests or containers based on unique IDs.class
UriSelector
ADiscoverySelector
that selects aURI
so thatTestEngines
can 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 LauncherDiscoveryRequestBuilder
LauncherDiscoveryRequestBuilder. selectors(DiscoverySelector... selectors)
Add all of the suppliedselectors
to the request.Method parameters in org.junit.platform.launcher.core with type arguments of type DiscoverySelector Modifier and Type Method Description LauncherDiscoveryRequestBuilder
LauncherDiscoveryRequestBuilder. selectors(List<? extends DiscoverySelector> selectors)
Add all of the suppliedselectors
to the request.
-