Package org.junit.platform.engine.support.hierarchical
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 SummaryInterfaceDescriptionMarker interface for an execution context used by a concrete implementation of
HierarchicalTestEngineand its collaborators.A closeable service that executes test tasks.An executable task that represents a single test or container.Node<C extends EngineExecutionContext>A node within the execution hierarchy.Executor for additional, dynamic test descriptors discovered during execution of aNode.Node.Invocation<C extends EngineExecutionContext>Represents an invocation that runs with the supplied context.Configuration to use for parallel test execution.A strategy to use for configuring parallel test execution.A lock for a one or more resources.Functional interface for a single test to be executed bySingleTestExecutor.Functional interface for an executable block of code that may throw aThrowable.Factory forThrowableCollectorinstances. -
Class SummaryClassDescriptionAn exclusive resource identified by a key with a lock mode that is used to synchronize access to shared resources when executing nodes in parallel.HierarchicalTestEngine<C extends EngineExecutionContext>Abstract base class for all
TestEngineimplementations that wish to organize test suites hierarchically based on theNodeabstraction.The result of determining whether the execution of a givencontextshould be skipped.Specialization ofThrowableCollectorthat treats instances ofTestAbortedExceptionas aborting.A simple executor service that executes all test tasks in the caller's thread.Deprecated.Simple component that can be used to collect one or more instances ofThrowable. -
Enum Class SummaryEnum ClassDescriptionDefault implementations of configuration strategies for parallel test execution.
LockModetranslates to the respectiveReadWriteLocklocks.Supported execution modes for parallel execution.
ThrowableCollector.execute(org.junit.platform.engine.support.hierarchical.ThrowableCollector.Executable)andThrowableCollector.toTestExecutionResult()instead.