Uses of Class
org.junit.platform.testkit.engine.Execution
Packages that use Execution
Package
Description
Test Kit for testing the execution of a
TestEngine
running on the JUnit Platform.-
Uses of Execution in org.junit.platform.testkit.engine
Fields in org.junit.platform.testkit.engine with type parameters of type ExecutionMethods in org.junit.platform.testkit.engine that return ExecutionModifier and TypeMethodDescriptionstatic Execution
Execution.finished
(TestDescriptor testDescriptor, Instant startInstant, Instant endInstant, TestExecutionResult executionResult) Create a new instance of anExecution
that finished with the providedTestExecutionResult
.static Execution
Execution.skipped
(TestDescriptor testDescriptor, Instant startInstant, Instant endInstant, String skipReason) Create a new instance of anExecution
that was skipped with the providedskipReason
.Methods in org.junit.platform.testkit.engine that return types with arguments of type ExecutionModifier and TypeMethodDescriptionorg.assertj.core.api.ListAssert
<Execution> Executions.assertThatExecutions()
Shortcut fororg.assertj.core.api.Assertions.assertThat(executions.list())
.Executions.createExecutions
(List<Event> events) Create executions from the supplied list of events.Executions.executionsByTerminationInfo
(Predicate<TerminationInfo> predicate) Shortcut forexecutions.stream().filter(predicate)
.Executions.finishedExecutions()
Executions.finishedExecutionsByStatus
(TestExecutionResult.Status status) Executions.list()
Get the executions as aList
.Executions.stream()
Get the executions as aStream
.Method parameters in org.junit.platform.testkit.engine with type arguments of type ExecutionModifier and TypeMethodDescriptionShortcut forexecutions.stream().filter(predicate)
.<R> Stream
<R> Shortcut forexecutions.stream().map(mapper)
.Constructor parameters in org.junit.platform.testkit.engine with type arguments of type Execution