public class JUnitStepListener
extends org.junit.runner.notification.RunListener
| Modifier and Type | Method and Description |
|---|---|
void |
dropListeners() |
net.thucydides.core.steps.BaseStepListener |
getBaseStepListener() |
net.thucydides.core.model.stacktrace.FailureCause |
getError() |
java.util.List<net.thucydides.core.model.TestOutcome> |
getTestOutcomes() |
boolean |
hasRecordedFailures() |
void |
registerThucydidesListeners() |
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)
Called when a test starts.
|
static JUnitStepListenerBuilder |
withOutputDirectory(java.io.File outputDirectory) |
public static JUnitStepListenerBuilder withOutputDirectory(java.io.File outputDirectory)
public void registerThucydidesListeners()
public net.thucydides.core.steps.BaseStepListener getBaseStepListener()
public void testRunStarted(org.junit.runner.Description description)
throws java.lang.Exception
testRunStarted in class org.junit.runner.notification.RunListenerjava.lang.Exceptionpublic void testRunFinished(org.junit.runner.Result result)
throws java.lang.Exception
testRunFinished in class org.junit.runner.notification.RunListenerjava.lang.Exceptionpublic void testStarted(org.junit.runner.Description description)
testStarted in class org.junit.runner.notification.RunListenerpublic void testFinished(org.junit.runner.Description description)
throws java.lang.Exception
testFinished in class org.junit.runner.notification.RunListenerjava.lang.Exceptionpublic void testFailure(org.junit.runner.notification.Failure failure)
throws java.lang.Exception
testFailure in class org.junit.runner.notification.RunListenerjava.lang.Exceptionpublic void testIgnored(org.junit.runner.Description description)
throws java.lang.Exception
testIgnored in class org.junit.runner.notification.RunListenerjava.lang.Exceptionpublic java.util.List<net.thucydides.core.model.TestOutcome> getTestOutcomes()
public net.thucydides.core.model.stacktrace.FailureCause getError()
public boolean hasRecordedFailures()
public void dropListeners()