public class AllureJunitPlatform
extends java.lang.Object
implements org.junit.platform.launcher.TestExecutionListener
| Constructor and Description |
|---|
AllureJunitPlatform() |
AllureJunitPlatform(io.qameta.allure.AllureLifecycle lifecycle) |
| Modifier and Type | Method and Description |
|---|---|
void |
executionFinished(org.junit.platform.launcher.TestIdentifier testIdentifier,
org.junit.platform.engine.TestExecutionResult testExecutionResult) |
void |
executionSkipped(org.junit.platform.launcher.TestIdentifier testIdentifier,
java.lang.String reason) |
void |
executionStarted(org.junit.platform.launcher.TestIdentifier testIdentifier) |
protected java.lang.String |
getHistoryId(org.junit.platform.launcher.TestIdentifier testIdentifier) |
io.qameta.allure.AllureLifecycle |
getLifecycle() |
protected io.qameta.allure.model.Status |
getStatus(java.lang.Throwable throwable) |
void |
reportingEntryPublished(org.junit.platform.launcher.TestIdentifier testIdentifier,
org.junit.platform.engine.reporting.ReportEntry entry) |
void |
testPlanExecutionFinished(org.junit.platform.launcher.TestPlan testPlan) |
void |
testPlanExecutionStarted(org.junit.platform.launcher.TestPlan testPlan) |
public AllureJunitPlatform(io.qameta.allure.AllureLifecycle lifecycle)
public AllureJunitPlatform()
public io.qameta.allure.AllureLifecycle getLifecycle()
public void testPlanExecutionStarted(org.junit.platform.launcher.TestPlan testPlan)
testPlanExecutionStarted in interface org.junit.platform.launcher.TestExecutionListenerpublic void testPlanExecutionFinished(org.junit.platform.launcher.TestPlan testPlan)
testPlanExecutionFinished in interface org.junit.platform.launcher.TestExecutionListenerpublic void executionStarted(org.junit.platform.launcher.TestIdentifier testIdentifier)
executionStarted in interface org.junit.platform.launcher.TestExecutionListenerpublic void executionSkipped(org.junit.platform.launcher.TestIdentifier testIdentifier,
java.lang.String reason)
executionSkipped 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.TestExecutionListenerpublic void reportingEntryPublished(org.junit.platform.launcher.TestIdentifier testIdentifier,
org.junit.platform.engine.reporting.ReportEntry entry)
reportingEntryPublished in interface org.junit.platform.launcher.TestExecutionListenerprotected io.qameta.allure.model.Status getStatus(java.lang.Throwable throwable)
protected java.lang.String getHistoryId(org.junit.platform.launcher.TestIdentifier testIdentifier)