public class CloverJUnit5TestExecutionListener extends Object implements org.junit.platform.launcher.TestExecutionListener
Clover's Test Execution Listener to be used when tests are run using JUnit5 (i.e. JUnit Platform).
Use JUnitTestRunnerInterceptor if tests are run using Junit 4.
This Listener supports both Junit4 Parameterized tests and Junit 5 Parameterized tests.
To add this listener to the project, just add this class in /META-INF/services/org.junit.platform.launcher.TestExecutionListener}
| Constructor and Description |
|---|
CloverJUnit5TestExecutionListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
executionFinished(org.junit.platform.launcher.TestIdentifier testIdentifier,
org.junit.platform.engine.TestExecutionResult testExecutionResult) |
void |
executionStarted(org.junit.platform.launcher.TestIdentifier testIdentifier) |
void |
testPlanExecutionStarted(org.junit.platform.launcher.TestPlan testPlan) |
public void testPlanExecutionStarted(org.junit.platform.launcher.TestPlan testPlan)
testPlanExecutionStarted in interface org.junit.platform.launcher.TestExecutionListenerpublic void executionStarted(org.junit.platform.launcher.TestIdentifier testIdentifier)
executionStarted in interface org.junit.platform.launcher.TestExecutionListenerpublic void executionFinished(org.junit.platform.launcher.TestIdentifier testIdentifier,
org.junit.platform.engine.TestExecutionResult testExecutionResult)
executionFinished in interface org.junit.platform.launcher.TestExecutionListenerCopyright © 2023 OpenClover.org. All rights reserved.