Module org.junit.platform.testkit
Package org.junit.platform.testkit.engine
package org.junit.platform.testkit.engine
Test Kit for testing the execution of a
TestEngine
running on the JUnit Platform.-
ClassDescription
EngineExecutionResults
provides a fluent API for processing the results of executing a test plan on the JUnit Platform for a givenTestEngine
.EngineTestKit
provides support for executing a test plan for a givenTestEngine
and then accessing the results via a fluent API to verify the expected results.TestEngine
execution builder.Event
represents a single event fired during execution of a test plan on the JUnit Platform.Collection of AssertJ conditions forEvent
.Events
is a facade that provides a fluent API for working with events.EventStatistics
provides a fluent API for asserting statistics for events.Enumeration of the different possibleEvent
types.Execution
encapsulates metadata for the execution of a singleTestDescriptor
.ExecutionRecorder
is anEngineExecutionListener
that records data from every event that occurs during the engine execution lifecycle and provides functionality for retrieving execution state viaEngineExecutionResults
.Executions
is a facade that provides a fluent API for working with executions.TerminationInfo
is a union type that allows propagation of terminated container/test state, supporting either the reason if the container/test was skipped or theTestExecutionResult
if the container/test was executed.Collection of AssertJ conditions forTestExecutionResult
.