Uses of Class
org.junit.platform.engine.TestExecutionResult
Packages that use TestExecutionResult
Package
Description
Public API for test engines.
Support classes and base implementation for any
TestEngine
that wishes to organize test suites
hierarchically based on the
Node
abstraction.-
Uses of TestExecutionResult in org.junit.platform.engine
Methods in org.junit.platform.engine that return TestExecutionResultModifier and TypeMethodDescriptionstatic TestExecutionResult
Create aTestExecutionResult
for an aborted execution of a test or container with the suppliedthrowable
.static TestExecutionResult
Create aTestExecutionResult
for a failed execution of a test or container with the suppliedthrowable
.static TestExecutionResult
TestExecutionResult.successful()
Create aTestExecutionResult
for a successful execution of a test or container.Methods in org.junit.platform.engine with parameters of type TestExecutionResultModifier and TypeMethodDescriptiondefault void
EngineExecutionListener.executionFinished
(TestDescriptor testDescriptor, TestExecutionResult testExecutionResult) Must be called when the execution of a leaf or subtree of the test tree has finished, regardless of the outcome. -
Uses of TestExecutionResult in org.junit.platform.engine.support.hierarchical
Methods in org.junit.platform.engine.support.hierarchical that return TestExecutionResultModifier and TypeMethodDescriptionSingleTestExecutor.executeSafely
(SingleTestExecutor.Executable executable) Deprecated.Execute the suppliedSingleTestExecutor.Executable
and return aTestExecutionResult
based on the outcome.ThrowableCollector.toTestExecutionResult()
Convert the collectedThrowables
into aTestExecutionResult
.Methods in org.junit.platform.engine.support.hierarchical with parameters of type TestExecutionResultModifier and TypeMethodDescriptiondefault void
Node.nodeFinished
(C context, TestDescriptor testDescriptor, TestExecutionResult result) Callback invoked when the execution of this node has finished.