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 ofHierarchicalTestEngine
and 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
.ThrowableCollector.Executable Functional interface for an executable block of code that may throw aThrowable
.ThrowableCollector.Factory Factory forThrowableCollector
instances. -
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 allTestEngine
implementations that wish to organize test suites hierarchically based on theNode
abstraction.Node.SkipResult The result of determining whether the execution of a givencontext
should be skipped.OpenTest4JAwareThrowableCollector Specialization ofThrowableCollector
that treats instances ofTestAbortedException
as aborting.SameThreadHierarchicalTestExecutorService A simple executor service that executes all test tasks in the caller's thread.SingleTestExecutor Deprecated. ThrowableCollector Simple component that can be used to collect one or more instances ofThrowable
. -
Enum Summary Enum Description DefaultParallelExecutionConfigurationStrategy Default implementations of configuration strategies for parallel test execution.ExclusiveResource.LockMode LockMode
translates to the respectiveReadWriteLock
locks.Node.ExecutionMode Supported execution modes for parallel execution.