Package io.qameta.allure.junit4
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 -
Method Summary
Modifier and TypeMethodDescriptionio.qameta.allure.AllureLifecyclevoidtestAssumptionFailure(org.junit.runner.notification.Failure failure) voidtestFailure(org.junit.runner.notification.Failure failure) voidtestFinished(org.junit.runner.Description description) voidtestIgnored(org.junit.runner.Description description) voidtestRunFinished(org.junit.runner.Result result) voidtestRunStarted(org.junit.runner.Description description) voidtestStarted(org.junit.runner.Description description) Methods inherited from class org.junit.runner.notification.RunListener
testSuiteFinished, testSuiteStarted
-
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:
testRunStartedin classorg.junit.runner.notification.RunListener
-
testRunFinished
public void testRunFinished(org.junit.runner.Result result) - Overrides:
testRunFinishedin classorg.junit.runner.notification.RunListener
-
testStarted
public void testStarted(org.junit.runner.Description description) - Overrides:
testStartedin classorg.junit.runner.notification.RunListener
-
testFinished
public void testFinished(org.junit.runner.Description description) - Overrides:
testFinishedin classorg.junit.runner.notification.RunListener
-
testFailure
public void testFailure(org.junit.runner.notification.Failure failure) - Overrides:
testFailurein classorg.junit.runner.notification.RunListener
-
testAssumptionFailure
public void testAssumptionFailure(org.junit.runner.notification.Failure failure) - Overrides:
testAssumptionFailurein classorg.junit.runner.notification.RunListener
-
testIgnored
public void testIgnored(org.junit.runner.Description description) - Overrides:
testIgnoredin classorg.junit.runner.notification.RunListener
-