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
Methods 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 TypeMethodDescriptionExecutions.assertThatExecutions()
Shortcut fororg.assertj.core.api.Assertions.assertThat(executions.list())
.Shortcut forexecutions.stream().filter(predicate)
.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 Execution