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.-
ClassDescriptionDefault implementations of configuration strategies for parallel test execution.Marker interface for an execution context used by a concrete implementation of
HierarchicalTestEngine
and its collaborators.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.LockMode
translates to the respectiveReadWriteLock
locks.HierarchicalTestEngine<C extends EngineExecutionContext>Abstract base class for allTestEngine
implementations that wish to organize test suites hierarchically based on theNode
abstraction.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
.Supported execution modes for parallel execution.Node.Invocation<C extends EngineExecutionContext>Represents an invocation that runs with the supplied context.The result of determining whether the execution of a givencontext
should be skipped.Specialization ofThrowableCollector
that treats instances ofTestAbortedException
as aborting.Configuration to use for parallel test execution.A strategy to use for configuring parallel test execution.A lock for a one or more resources.A simple executor service that executes all test tasks in the caller's thread.Deprecated.Functional interface for a single test to be executed bySingleTestExecutor
.Simple component that can be used to collect one or more instances ofThrowable
.Functional interface for an executable block of code that may throw aThrowable
.Factory forThrowableCollector
instances.
ThrowableCollector.execute(org.junit.platform.engine.support.hierarchical.ThrowableCollector.Executable)
andThrowableCollector.toTestExecutionResult()
instead.