public class AllureJunitPlatform
extends java.lang.Object
implements org.junit.platform.launcher.TestExecutionListener
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ALLURE_FIXTURE |
static java.lang.String |
EVENT_FAILURE |
static java.lang.String |
EVENT_START |
static java.lang.String |
EVENT_STOP |
static java.lang.String |
JUNIT_PLATFORM_UNIQUE_ID |
static java.lang.String |
PREPARE |
static java.lang.String |
TEAR_DOWN |
| 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 static final java.lang.String ALLURE_FIXTURE
public static final java.lang.String PREPARE
public static final java.lang.String TEAR_DOWN
public static final java.lang.String EVENT_START
public static final java.lang.String EVENT_STOP
public static final java.lang.String EVENT_FAILURE
public static final java.lang.String JUNIT_PLATFORM_UNIQUE_ID
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 executionFinished(org.junit.platform.launcher.TestIdentifier testIdentifier,
org.junit.platform.engine.TestExecutionResult testExecutionResult)
executionFinished 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 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)