Uses of Class
org.junit.platform.engine.TestExecutionResult
Packages that use TestExecutionResult
Package
Description
Test descriptors used within the JUnit Jupiter test engine.
Configuration options for JUnit's console launcher.
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.Public API for configuring and launching test plans.
Common
TestExecutionListener implementations and related support classes for
the Launcher.Support for generating XML reports using a format which is compatible with
the de facto standard for JUnit 4 based test reports that was made popular
by the Ant build system.
Support for generating Open Test Reporting compatible XML event reports.
Test Kit for testing the execution of a
TestEngine
running on the JUnit Platform.-
Uses of TestExecutionResult in org.junit.jupiter.engine.descriptor
Methods in org.junit.jupiter.engine.descriptor with parameters of type TestExecutionResultModifier and TypeMethodDescriptionvoidTestFactoryTestDescriptor.nodeFinished(JupiterEngineExecutionContext context, TestDescriptor descriptor, TestExecutionResult result) OverrideTestMethodTestDescriptor.nodeFinished(org.junit.jupiter.engine.execution.JupiterEngineExecutionContext, org.junit.platform.engine.TestDescriptor, org.junit.platform.engine.TestExecutionResult)as a no-op, since theTestWatcherAPI is not supported for@TestFactorycontainers.voidTestMethodTestDescriptor.nodeFinished(JupiterEngineExecutionContext context, TestDescriptor descriptor, TestExecutionResult result) InvoketestSuccessful(),testAborted(), ortestFailed()on each registeredTestWatcheraccording to the status of the suppliedTestExecutionResult, in reverse registration order. -
Uses of TestExecutionResult in org.junit.platform.console.options
Methods in org.junit.platform.console.options with parameters of type TestExecutionResult -
Uses of TestExecutionResult in org.junit.platform.engine
Methods in org.junit.platform.engine that return TestExecutionResultModifier and TypeMethodDescriptionstatic TestExecutionResultCreate aTestExecutionResultfor an aborted execution of a test or container with the suppliedthrowable.static TestExecutionResultCreate aTestExecutionResultfor a failed execution of a test or container with the suppliedthrowable.static TestExecutionResultTestExecutionResult.successful()Create aTestExecutionResultfor a successful execution of a test or container.Methods in org.junit.platform.engine with parameters of type TestExecutionResultModifier and TypeMethodDescriptiondefault voidEngineExecutionListener.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 TypeMethodDescriptionThrowableCollector.toTestExecutionResult()Convert the collectedThrowablesinto aTestExecutionResult.Methods in org.junit.platform.engine.support.hierarchical with parameters of type TestExecutionResultModifier and TypeMethodDescriptiondefault voidNode.nodeFinished(C context, TestDescriptor testDescriptor, TestExecutionResult result) Callback invoked when the execution of this node has finished. -
Uses of TestExecutionResult in org.junit.platform.launcher
Methods in org.junit.platform.launcher with parameters of type TestExecutionResultModifier and TypeMethodDescriptiondefault voidTestExecutionListener.executionFinished(TestIdentifier testIdentifier, TestExecutionResult testExecutionResult) Called when the execution of a leaf or subtree of theTestPlanhas finished, regardless of the outcome. -
Uses of TestExecutionResult in org.junit.platform.launcher.listeners
Methods in org.junit.platform.launcher.listeners with parameters of type TestExecutionResultModifier and TypeMethodDescriptionvoidLoggingListener.executionFinished(TestIdentifier testIdentifier, TestExecutionResult testExecutionResult) voidSummaryGeneratingListener.executionFinished(TestIdentifier testIdentifier, TestExecutionResult testExecutionResult) voidUniqueIdTrackingListener.executionFinished(TestIdentifier testIdentifier, TestExecutionResult testExecutionResult) -
Uses of TestExecutionResult in org.junit.platform.reporting.legacy.xml
Methods in org.junit.platform.reporting.legacy.xml with parameters of type TestExecutionResultModifier and TypeMethodDescriptionvoidLegacyXmlReportGeneratingListener.executionFinished(TestIdentifier testIdentifier, TestExecutionResult result) -
Uses of TestExecutionResult in org.junit.platform.reporting.open.xml
Methods in org.junit.platform.reporting.open.xml with parameters of type TestExecutionResultModifier and TypeMethodDescriptionvoidOpenTestReportGeneratingListener.executionFinished(TestIdentifier testIdentifier, TestExecutionResult testExecutionResult) -
Uses of TestExecutionResult in org.junit.platform.testkit.engine
Methods in org.junit.platform.testkit.engine that return TestExecutionResultModifier and TypeMethodDescriptionTerminationInfo.getExecutionResult()Get theTestExecutionResultfor the completed execution.Methods in org.junit.platform.testkit.engine that return types with arguments of type TestExecutionResultModifier and TypeMethodDescriptionstatic Condition<TestExecutionResult> TestExecutionResultConditions.status(TestExecutionResult.Status expectedStatus) Create a newConditionthat matches if and only if aTestExecutionResult's status is equal to the suppliedStatus.static Condition<TestExecutionResult> Create a newConditionthat matches if and only if aTestExecutionResult's throwable matches all supplied conditions.Methods in org.junit.platform.testkit.engine with parameters of type TestExecutionResultModifier and TypeMethodDescriptionstatic TerminationInfoTerminationInfo.executed(TestExecutionResult testExecutionResult) Create an executedTerminationInfoinstance for the suppliedTestExecutionResult.static EventEvent.executionFinished(TestDescriptor testDescriptor, TestExecutionResult result) voidExecutionRecorder.executionFinished(TestDescriptor testDescriptor, TestExecutionResult testExecutionResult) Record anEventfor a container or test that completed with the providedTestExecutionResult.static ExecutionExecution.finished(TestDescriptor testDescriptor, Instant startInstant, Instant endInstant, TestExecutionResult executionResult) Create a new instance of anExecutionthat finished with the providedTestExecutionResult.Method parameters in org.junit.platform.testkit.engine with type arguments of type TestExecutionResultModifier and TypeMethodDescriptionEventConditions.finished(Condition<TestExecutionResult> resultCondition) Create a newConditionthat matches if and only if anEvent's type isEventType.FINISHEDand its payload is an instance ofTestExecutionResultthat matches the suppliedCondition.EventConditions.result(Condition<TestExecutionResult> condition) Create a newConditionthat matches if and only if anEvent's payload is an instance ofTestExecutionResultthat matches the suppliedCondition.