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
EngineDiscoveryResults
represents the results of test discovery by aTestEngine
on the JUnit Platform and provides access to theTestDescriptor
of the engine and anyDiscoveryIssues
that were encountered.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 discovering and executing tests for a givenTestEngine
and provides convenient access to the 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
.