Package net.serenitybdd.junit.runners
Class ParameterizedJUnitStepListener
java.lang.Object
org.junit.runner.notification.RunListener
net.thucydides.junit.listeners.JUnitStepListener
net.serenitybdd.junit.runners.ParameterizedJUnitStepListener
public class ParameterizedJUnitStepListener extends JUnitStepListener
-
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 ParameterizedJUnitStepListener(int parameterSetNumber, net.thucydides.core.model.DataTable parametersTable, java.lang.Class<?> testClass, BaseStepListener baseStepListener, StepListener... listeners) -
Method Summary
Modifier and Type Method Description voidtestFailure(org.junit.runner.notification.Failure failure)voidtestFinished(org.junit.runner.Description description)voidtestIgnored(org.junit.runner.Description description)voidtestRunStarted(org.junit.runner.Description description)voidtestStarted(org.junit.runner.Description description)Called when a test starts.Methods inherited from class net.thucydides.junit.listeners.JUnitStepListener
dropListeners, getBaseStepListener, getError, getFailedTests, getTestClass, getTestOutcomes, hasRecordedFailures, registerThucydidesListeners, testRunFinished, withOutputDirectoryMethods inherited from class org.junit.runner.notification.RunListener
testAssumptionFailure, testSuiteFinished, testSuiteStartedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ParameterizedJUnitStepListener
public ParameterizedJUnitStepListener(int parameterSetNumber, net.thucydides.core.model.DataTable parametersTable, java.lang.Class<?> testClass, BaseStepListener baseStepListener, StepListener... listeners)
-
-
Method Details
-
testRunStarted
public void testRunStarted(org.junit.runner.Description description) throws java.lang.Exception- Overrides:
testRunStartedin classJUnitStepListener- Throws:
java.lang.Exception
-
testStarted
public void testStarted(org.junit.runner.Description description)Description copied from class:JUnitStepListenerCalled when a test starts. We also need to start the test suite the first time, as the testRunStarted() method is not invoked for some reason.- Overrides:
testStartedin classJUnitStepListener
-
testFinished
public void testFinished(org.junit.runner.Description description) throws java.lang.Exception- Overrides:
testFinishedin classJUnitStepListener- Throws:
java.lang.Exception
-
testFailure
public void testFailure(org.junit.runner.notification.Failure failure) throws java.lang.Exception- Overrides:
testFailurein classJUnitStepListener- Throws:
java.lang.Exception
-
testIgnored
public void testIgnored(org.junit.runner.Description description) throws java.lang.Exception- Overrides:
testIgnoredin classJUnitStepListener- Throws:
java.lang.Exception
-