Support classes and base implementation for any
TestEnginethat wishes to organize test suites hierarchically based on the
Interface Summary Interface Description EngineExecutionContextMarker interface for an execution context used by a concrete implementation of
HierarchicalTestEngineand its collaborators.
HierarchicalTestExecutorServiceA closeable service that executes test tasks. HierarchicalTestExecutorService.TestTaskAn executable task that represents a single test or container. Node<C extends EngineExecutionContext>A node within the execution hierarchy. Node.DynamicTestExecutorExecutor for additional, dynamic test descriptors discovered during execution of a
Node.Invocation<C extends EngineExecutionContext>Represents an invocation that runs with the supplied context. ParallelExecutionConfigurationConfiguration to use for parallel test execution. ParallelExecutionConfigurationStrategyA strategy to use for configuring parallel test execution. ResourceLockA lock for a one or more resources. SingleTestExecutor.ExecutableFunctional interface for a single test to be executed by
ThrowableCollector.ExecutableFunctional interface for an executable block of code that may throw a
Class Summary Class Description ExclusiveResourceAn exclusive resource identified by a key with a lock mode that is used to synchronize access to shared resources when executing nodes in parallel. ForkJoinPoolHierarchicalTestExecutorServiceA
ForkJoinPool-based executor service that executes test tasks with the configured parallelism.
HierarchicalTestEngine<C extends EngineExecutionContext>Abstract base class for all
TestEngineimplementations that wish to organize test suites hierarchically based on the
Node.SkipResultThe result of determining whether the execution of a given
contextshould be skipped.
ThrowableCollectorthat treats instances of
SameThreadHierarchicalTestExecutorServiceA simple executor service that executes all test tasks in the caller's thread. SingleTestExecutor Deprecated. ThrowableCollectorSimple component that can be used to collect one or more instances of
Enum Summary Enum Description DefaultParallelExecutionConfigurationStrategyDefault implementations of configuration strategies for parallel test execution. ExclusiveResource.LockMode
LockModetranslates to the respective
Node.ExecutionModeSupported execution modes for parallel execution.