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 Details

  • 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:
      testPlanExecutionStarted in interface org.junit.platform.launcher.TestExecutionListener
    • testPlanExecutionFinished

      public void testPlanExecutionFinished(org.junit.platform.launcher.TestPlan testPlan)
      Specified by:
      testPlanExecutionFinished in interface org.junit.platform.launcher.TestExecutionListener
    • executionStarted

      public void executionStarted(org.junit.platform.launcher.TestIdentifier testIdentifier)
      Specified by:
      executionStarted in interface org.junit.platform.launcher.TestExecutionListener
    • executionFinished

      public void executionFinished(org.junit.platform.launcher.TestIdentifier testIdentifier, org.junit.platform.engine.TestExecutionResult testExecutionResult)
      Specified by:
      executionFinished in interface org.junit.platform.launcher.TestExecutionListener
    • executionSkipped

      public void executionSkipped(org.junit.platform.launcher.TestIdentifier testIdentifier, String reason)
      Specified by:
      executionSkipped in interface org.junit.platform.launcher.TestExecutionListener
    • reportingEntryPublished

      public void reportingEntryPublished(org.junit.platform.launcher.TestIdentifier testIdentifier, org.junit.platform.engine.reporting.ReportEntry entry)
      Specified by:
      reportingEntryPublished in interface org.junit.platform.launcher.TestExecutionListener
    • getStatus

      protected io.qameta.allure.model.Status getStatus(Throwable throwable)
    • getHistoryId

      protected String getHistoryId(org.junit.platform.launcher.TestIdentifier testIdentifier)