Class TestEngineTestExecutionListener
- java.lang.Object
-
- org.junit.platform.launcher.listeners.SummaryGeneratingListener
-
- org.antublue.test.engine.internal.TestEngineTestExecutionListener
-
- All Implemented Interfaces:
org.junit.platform.launcher.TestExecutionListener
public class TestEngineTestExecutionListener extends org.junit.platform.launcher.listeners.SummaryGeneratingListenerClass to collect metrics and output test execution status
-
-
Constructor Summary
Constructors Constructor Description TestEngineTestExecutionListener()Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecutionFinished(org.junit.platform.launcher.TestIdentifier testIdentifier, org.junit.platform.engine.TestExecutionResult testExecutionResult)Method to indicate execution of a TestPlan as finishedvoidexecutionStarted(org.junit.platform.launcher.TestIdentifier testIdentifier)Method to indicate execution of a TestIdentifier as startedvoidtestPlanExecutionFinished(org.junit.platform.launcher.TestPlan testPlan)Method to indicate execution of a TestPlan as finishedvoidtestPlanExecutionStarted(org.junit.platform.launcher.TestPlan testPlan)Method to indicate execution of a TestPlan as started-
Methods inherited from class org.junit.platform.launcher.listeners.SummaryGeneratingListener
dynamicTestRegistered, executionSkipped, getSummary
-
-
-
-
Method Detail
-
testPlanExecutionStarted
public void testPlanExecutionStarted(org.junit.platform.launcher.TestPlan testPlan)
Method to indicate execution of a TestPlan as started- Specified by:
testPlanExecutionStartedin interfaceorg.junit.platform.launcher.TestExecutionListener- Overrides:
testPlanExecutionStartedin classorg.junit.platform.launcher.listeners.SummaryGeneratingListener- Parameters:
testPlan-
-
executionStarted
public void executionStarted(org.junit.platform.launcher.TestIdentifier testIdentifier)
Method to indicate execution of a TestIdentifier as started- Specified by:
executionStartedin interfaceorg.junit.platform.launcher.TestExecutionListener- Overrides:
executionStartedin classorg.junit.platform.launcher.listeners.SummaryGeneratingListener- Parameters:
testIdentifier-
-
executionFinished
public void executionFinished(org.junit.platform.launcher.TestIdentifier testIdentifier, org.junit.platform.engine.TestExecutionResult testExecutionResult)Method to indicate execution of a TestPlan as finished- Specified by:
executionFinishedin interfaceorg.junit.platform.launcher.TestExecutionListener- Overrides:
executionFinishedin classorg.junit.platform.launcher.listeners.SummaryGeneratingListener- Parameters:
testIdentifier-testExecutionResult-
-
testPlanExecutionFinished
public void testPlanExecutionFinished(org.junit.platform.launcher.TestPlan testPlan)
Method to indicate execution of a TestPlan as finished- Specified by:
testPlanExecutionFinishedin interfaceorg.junit.platform.launcher.TestExecutionListener- Overrides:
testPlanExecutionFinishedin classorg.junit.platform.launcher.listeners.SummaryGeneratingListener- Parameters:
testPlan-
-
-