Package | Description |
---|---|
org.junit.jupiter.engine |
Core package for the JUnit Jupiter test engine.
|
org.junit.platform.engine.support.hierarchical |
Support classes and base implementation for any
TestEngine that wishes to organize test suites
hierarchically based on the
Node abstraction. |
org.junit.platform.launcher |
Public API for configuring and launching test plans.
|
org.junit.platform.launcher.core |
Core support classes for the
Launcher
including the LauncherFactory
and the LauncherDiscoveryRequestBuilder . |
org.junit.vintage.engine |
Core package for the JUnit Vintage test engine.
|
Modifier and Type | Class and Description |
---|---|
class |
JupiterTestEngine
The JUnit Jupiter
TestEngine . |
Modifier and Type | Class and Description |
---|---|
class |
HierarchicalTestEngine<C extends EngineExecutionContext>
Abstract base class for all
TestEngine implementations that wish
to organize test suites hierarchically based on the Node abstraction. |
Modifier and Type | Method and Description |
---|---|
FilterResult |
EngineFilter.apply(TestEngine testEngine) |
Modifier and Type | Field and Description |
---|---|
private java.util.Collection<TestEngine> |
DefaultLauncherConfig.additionalTestEngines |
private java.util.Collection<TestEngine> |
LauncherConfig.Builder.engines |
private java.util.Map<TestEngine,TestDescriptor> |
Root.testEngineDescriptors |
private java.lang.Iterable<TestEngine> |
DefaultLauncher.testEngines |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<TestEngine> |
LauncherConfig.getAdditionalTestEngines()
Get the collection of additional test engines that should be added to
the
Launcher . |
java.util.Collection<TestEngine> |
DefaultLauncherConfig.getAdditionalTestEngines() |
(package private) java.lang.Iterable<TestEngine> |
Root.getTestEngines() |
java.lang.Iterable<TestEngine> |
ServiceLoaderTestEngineRegistry.loadTestEngines() |
private static java.lang.Iterable<TestEngine> |
DefaultLauncher.validateEngineIds(java.lang.Iterable<TestEngine> testEngines) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
Root.add(TestEngine engine,
TestDescriptor testDescriptor)
Add an
engine 's root TestDescriptor . |
LauncherConfig.Builder |
LauncherConfig.Builder.addTestEngines(TestEngine... engines)
Add all of the supplied
engines to the configuration. |
private java.util.List<java.lang.String> |
ServiceLoaderTestEngineRegistry.computeAttributes(TestEngine engine) |
private java.util.Optional<TestDescriptor> |
DefaultLauncher.discoverEngineRoot(TestEngine testEngine,
LauncherDiscoveryRequest discoveryRequest) |
private void |
DefaultLauncher.execute(TestEngine testEngine,
ExecutionRequest executionRequest) |
(package private) TestDescriptor |
Root.getTestDescriptorFor(TestEngine testEngine) |
private void |
DefaultLauncher.handleThrowable(TestEngine testEngine,
java.lang.String phase,
java.lang.Throwable throwable) |
(package private) void |
EngineDiscoveryResultValidator.validate(TestEngine testEngine,
TestDescriptor root)
Perform common validation checks.
|
private static boolean |
DefaultLauncher.validateReservedIds(TestEngine testEngine) |
private static void |
DefaultLauncher.validateWellKnownClassName(TestEngine testEngine,
java.lang.String expectedClassName) |
Modifier and Type | Method and Description |
---|---|
private java.lang.String |
ServiceLoaderTestEngineRegistry.createDiscoveredTestEnginesMessage(java.lang.Iterable<TestEngine> testEngines) |
private static java.lang.Iterable<TestEngine> |
DefaultLauncher.validateEngineIds(java.lang.Iterable<TestEngine> testEngines) |
Constructor and Description |
---|
DefaultLauncher(java.lang.Iterable<TestEngine> testEngines)
Construct a new
DefaultLauncher with the supplied test engines. |
DefaultLauncherConfig(boolean testEngineAutoRegistrationEnabled,
boolean testExecutionListenerAutoRegistrationEnabled,
java.util.Collection<TestEngine> additionalTestEngines,
java.util.Collection<TestExecutionListener> additionalTestExecutionListeners) |
Modifier and Type | Class and Description |
---|---|
class |
VintageTestEngine
The JUnit Vintage
TestEngine . |