Package 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.-
Interface Summary Interface Description EngineExecutionContext Marker interface for an execution context used by a concrete implementation ofHierarchicalTestEngineand its collaborators.HierarchicalTestExecutorService A closeable service that executes test tasks.HierarchicalTestExecutorService.TestTask An executable task that represents a single test or container.Node<C extends EngineExecutionContext> A node within the execution hierarchy.Node.DynamicTestExecutor Executor for additional, dynamic test descriptors discovered during execution of aNode.ParallelExecutionConfiguration Configuration to use for parallel test execution.ParallelExecutionConfigurationStrategy A strategy to use for configuring parallel test execution.ResourceLock A lock for a one or more resources.SingleTestExecutor.Executable Functional interface for a single test to be executed bySingleTestExecutor. -
Class Summary Class Description ExclusiveResource An exclusive resource identified by a key with a lock mode that is used to synchronize access to shared resources when executing nodes in parallel.ForkJoinPoolHierarchicalTestExecutorService HierarchicalTestEngine<C extends EngineExecutionContext> Abstract base class for allTestEngineimplementations that wish to organize test suites hierarchically based on theNodeabstraction.Node.SkipResult The result of determining whether the execution of a givencontextshould be skipped.SameThreadHierarchicalTestExecutorService A simple executor service that executes all test tasks in the caller's thread.SingleTestExecutor SingleTestExecutorencapsulates the execution of a single test wrapped in anSingleTestExecutor.Executable. -
Enum Summary Enum Description DefaultParallelExecutionConfigurationStrategy Default implementations of configuration strategies for parallel test execution.ExclusiveResource.LockMode LockModetranslates to the respectiveReadWriteLocklocks.Node.ExecutionMode Supported execution modes for parallel execution.