Package io.qameta.allure.junitplatform
Class AllureJunitPlatform
java.lang.Object
io.qameta.allure.junitplatform.AllureJunitPlatform
- All Implemented Interfaces:
org.junit.platform.launcher.TestExecutionListener
public class AllureJunitPlatform
extends Object
implements org.junit.platform.launcher.TestExecutionListener
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecutionFinished(org.junit.platform.launcher.TestIdentifier testIdentifier, org.junit.platform.engine.TestExecutionResult testExecutionResult) voidexecutionSkipped(org.junit.platform.launcher.TestIdentifier testIdentifier, String reason) voidexecutionStarted(org.junit.platform.launcher.TestIdentifier testIdentifier) protected StringgetHistoryId(org.junit.platform.launcher.TestIdentifier testIdentifier) io.qameta.allure.AllureLifecycleprotected io.qameta.allure.model.StatusvoidreportingEntryPublished(org.junit.platform.launcher.TestIdentifier testIdentifier, org.junit.platform.engine.reporting.ReportEntry entry) voidtestPlanExecutionFinished(org.junit.platform.launcher.TestPlan testPlan) voidtestPlanExecutionStarted(org.junit.platform.launcher.TestPlan testPlan) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.junit.platform.launcher.TestExecutionListener
dynamicTestRegistered
-
Field Details
-
ALLURE_REPORT_ENTRY_BLANK_PREFIX
- See Also:
-
ALLURE_PARAMETER
- See Also:
-
ALLURE_PARAMETER_VALUE_KEY
- See Also:
-
ALLURE_PARAMETER_MODE_KEY
- See Also:
-
ALLURE_PARAMETER_EXCLUDED_KEY
- See Also:
-
ALLURE_FIXTURE
- See Also:
-
PREPARE
- See Also:
-
TEAR_DOWN
- See Also:
-
EVENT_START
- See Also:
-
EVENT_STOP
- See Also:
-
EVENT_FAILURE
- See Also:
-
JUNIT_PLATFORM_UNIQUE_ID
- See Also:
-
-
Constructor Details
-
AllureJunitPlatform
public AllureJunitPlatform(io.qameta.allure.AllureLifecycle lifecycle) -
AllureJunitPlatform
public AllureJunitPlatform()
-
-
Method Details
-
getLifecycle
public io.qameta.allure.AllureLifecycle getLifecycle() -
testPlanExecutionStarted
public void testPlanExecutionStarted(org.junit.platform.launcher.TestPlan testPlan) - Specified by:
testPlanExecutionStartedin interfaceorg.junit.platform.launcher.TestExecutionListener
-
testPlanExecutionFinished
public void testPlanExecutionFinished(org.junit.platform.launcher.TestPlan testPlan) - Specified by:
testPlanExecutionFinishedin interfaceorg.junit.platform.launcher.TestExecutionListener
-
executionStarted
public void executionStarted(org.junit.platform.launcher.TestIdentifier testIdentifier) - Specified by:
executionStartedin interfaceorg.junit.platform.launcher.TestExecutionListener
-
executionFinished
public void executionFinished(org.junit.platform.launcher.TestIdentifier testIdentifier, org.junit.platform.engine.TestExecutionResult testExecutionResult) - Specified by:
executionFinishedin interfaceorg.junit.platform.launcher.TestExecutionListener
-
executionSkipped
public void executionSkipped(org.junit.platform.launcher.TestIdentifier testIdentifier, String reason) - Specified by:
executionSkippedin interfaceorg.junit.platform.launcher.TestExecutionListener
-
reportingEntryPublished
public void reportingEntryPublished(org.junit.platform.launcher.TestIdentifier testIdentifier, org.junit.platform.engine.reporting.ReportEntry entry) - Specified by:
reportingEntryPublishedin interfaceorg.junit.platform.launcher.TestExecutionListener
-
getStatus
-
getHistoryId
-