Module org.junit.platform.engine
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.-
InterfaceDescriptionMarker interface for an execution context used by a concrete implementation of
HierarchicalTestEngine
and 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 forThrowableCollector
instances. -
ClassDescriptionAn 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
TestEngine
implementations that wish to organize test suites hierarchically based on theNode
abstraction.The result of determining whether the execution of a givencontext
should be skipped.Specialization ofThrowableCollector
that treats instances ofTestAbortedException
as 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 ClassDescriptionDefault implementations of configuration strategies for parallel test execution.
LockMode
translates to the respectiveReadWriteLock
locks.Supported execution modes for parallel execution.
ThrowableCollector.execute(org.junit.platform.engine.support.hierarchical.ThrowableCollector.Executable)
andThrowableCollector.toTestExecutionResult()
instead.