Uses of Class
org.junit.platform.testkit.engine.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
Modifier 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
.Modifier 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
.