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
-
Nested Class Summary
Nested classes/interfaces inherited from class org.junit.runner.notification.RunListener
org.junit.runner.notification.RunListener.ThreadSafe -
Constructor Summary
ConstructorsConstructorDescriptionParameterizedJUnitStepListener(int parameterSetNumber, net.thucydides.model.domain.DataTable parametersTable, Class<?> testClass, net.thucydides.core.steps.BaseStepListener baseStepListener, net.thucydides.model.steps.StepListener... listeners) -
Method Summary
Modifier and TypeMethodDescriptionvoidtestFailure(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, testSuiteStarted
-
Constructor Details
-
ParameterizedJUnitStepListener
public ParameterizedJUnitStepListener(int parameterSetNumber, net.thucydides.model.domain.DataTable parametersTable, Class<?> testClass, net.thucydides.core.steps.BaseStepListener baseStepListener, net.thucydides.model.steps.StepListener... listeners)
-
-
Method Details
-
testRunStarted
- Overrides:
testRunStartedin classJUnitStepListener- Throws:
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
- Overrides:
testFinishedin classJUnitStepListener- Throws:
Exception
-
testFailure
- Overrides:
testFailurein classJUnitStepListener- Throws:
Exception
-
testIgnored
- Overrides:
testIgnoredin classJUnitStepListener- Throws:
Exception
-