Top Description Classes Enums
module org.junit.platform.testkit

Package org.junit.platform.testkit.engine

Annotations
@NullMarked
Imports
org.jspecify.annotations.NullMarked

Test Kit for testing the execution of a org.junit.platform.engine.TestEngine running on the JUnit Platform.

Class Summary

Modifier and TypeClass and Description
pack-priv class
Assertions

Assertions is a collection of selected assertion utility methods from JUnit Jupiter for use within the JUnit Platform Test Kit.

public class
EngineDiscoveryResults

EngineDiscoveryResults represents the results of test discovery by a TestEngine on the JUnit Platform and provides access to the TestDescriptor of the engine and any DiscoveryIssues that were encountered.

public class
EngineExecutionResults

EngineExecutionResults provides a fluent API for processing the results of executing a test plan on the JUnit Platform for a given TestEngine.

public class
EngineTestKit

EngineTestKit provides support for discovering and executing tests for a given TestEngine and provides convenient access to the results.

public class
Event

Event represents a single event fired during execution of a test plan on the JUnit Platform.

public class
EventConditions

Collection of AssertJ conditions for Event.

public class
Events

Events is a facade that provides a fluent API for working with events.

public class
EventStatistics

EventStatistics provides a fluent API for asserting statistics for events.

public class
Execution

Execution encapsulates metadata for the execution of a single TestDescriptor.

public class
ExecutionRecorder

ExecutionRecorder is an EngineExecutionListener that records data from every event that occurs during the engine execution lifecycle and provides functionality for retrieving execution state via EngineExecutionResults.

public class
Executions

Executions is a facade that provides a fluent API for working with executions.

public class
TerminationInfo

TerminationInfo is a union type that allows propagation of terminated container/test state, supporting either the reason if the container/test was skipped or the TestExecutionResult if the container/test was executed.

public class

Enum Summary

Modifier and TypeEnum and Description
public enum
EventType

Enumeration of the different possible Event types.