Class AllureJunit4

java.lang.Object
org.junit.runner.notification.RunListener
io.qameta.allure.junit4.AllureJunit4

@ThreadSafe public class AllureJunit4 extends org.junit.runner.notification.RunListener
Allure Junit4 listener.
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.junit.runner.notification.RunListener

    org.junit.runner.notification.RunListener.ThreadSafe
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    AllureJunit4(io.qameta.allure.AllureLifecycle lifecycle)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    io.qameta.allure.AllureLifecycle
     
    void
    testAssumptionFailure(org.junit.runner.notification.Failure failure)
     
    void
    testFailure(org.junit.runner.notification.Failure failure)
     
    void
    testFinished(org.junit.runner.Description description)
     
    void
    testIgnored(org.junit.runner.Description description)
     
    void
    testRunFinished(org.junit.runner.Result result)
     
    void
    testRunStarted(org.junit.runner.Description description)
     
    void
    testStarted(org.junit.runner.Description description)
     

    Methods inherited from class org.junit.runner.notification.RunListener

    testSuiteFinished, testSuiteStarted

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AllureJunit4

      public AllureJunit4()
    • AllureJunit4

      public AllureJunit4(io.qameta.allure.AllureLifecycle lifecycle)
  • Method Details

    • getLifecycle

      public io.qameta.allure.AllureLifecycle getLifecycle()
    • testRunStarted

      public void testRunStarted(org.junit.runner.Description description)
      Overrides:
      testRunStarted in class org.junit.runner.notification.RunListener
    • testRunFinished

      public void testRunFinished(org.junit.runner.Result result)
      Overrides:
      testRunFinished in class org.junit.runner.notification.RunListener
    • testStarted

      public void testStarted(org.junit.runner.Description description)
      Overrides:
      testStarted in class org.junit.runner.notification.RunListener
    • testFinished

      public void testFinished(org.junit.runner.Description description)
      Overrides:
      testFinished in class org.junit.runner.notification.RunListener
    • testFailure

      public void testFailure(org.junit.runner.notification.Failure failure)
      Overrides:
      testFailure in class org.junit.runner.notification.RunListener
    • testAssumptionFailure

      public void testAssumptionFailure(org.junit.runner.notification.Failure failure)
      Overrides:
      testAssumptionFailure in class org.junit.runner.notification.RunListener
    • testIgnored

      public void testIgnored(org.junit.runner.Description description)
      Overrides:
      testIgnored in class org.junit.runner.notification.RunListener