public class ConsoleStepListener extends BaseStepListener
BaseStepListener.StepMerger, BaseStepListener.StepMutator| Constructor and Description |
|---|
ConsoleStepListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
assumptionViolated(java.lang.String message) |
void |
skippedStepStarted(net.thucydides.core.steps.ExecutedStepDescription description) |
void |
stepFailed(net.thucydides.core.steps.StepFailure failure) |
void |
stepFinished() |
void |
stepIgnored() |
void |
stepPending() |
void |
stepStarted(net.thucydides.core.steps.ExecutedStepDescription description)
A step within a test is called.
|
void |
testFailed(net.thucydides.core.model.TestOutcome testOutcome,
java.lang.Throwable cause) |
void |
testFailed(java.lang.Throwable cause) |
void |
testFinished(net.thucydides.core.model.TestOutcome result) |
void |
testFinished(net.thucydides.core.model.TestOutcome result,
boolean isInDataDrivenTest)
A test has finished.
|
void |
testIgnored() |
void |
testPending() |
void |
testSkipped() |
void |
testStarted(java.lang.String description)
An individual test starts.
|
java.lang.String |
toString() |
addIssuesToCurrentStory, addNewExamplesFrom, addTagsToCurrentStory, aStepHasFailed, aStepHasFailedInTheCurrentExample, cancelPreviousTest, clearForcedResult, cloneCurrentStep, currentStepIsAPrecondition, exampleFinished, exampleStarted, exceptionExpected, getActiveDrivers, getAnnotatedResult, getCurrentStepMethod, getDriver, getEventBus, getForcedResult, getPhotographer, getRunningStepCount, getStepCount, getTestFailureCause, getTestOutcomes, isAvailable, lastStepFailed, lastTestPassedAfterRetries, latestTestOutcome, mergeLast, notifyScreenChange, overrideResultTo, recordManualTestResult, recordRestQuery, setAllStepsTo, setDriver, setEventBus, stepPending, takeScreenshot, testIsManual, testRetried, testRunFinished, testStarted, testSuiteFinished, testSuiteRunning, testSuiteStarted, testSuiteStarted, updateCurrentStepTitle, updateOverallResults, useExamplesFrompublic java.lang.String toString()
toString in class java.lang.Objectpublic void testStarted(java.lang.String description)
BaseStepListenertestStarted in interface net.thucydides.core.steps.StepListenertestStarted in class BaseStepListenerdescription - the name of the test method in the test suite class.public void testFinished(net.thucydides.core.model.TestOutcome result)
testFinished in interface net.thucydides.core.steps.StepListenertestFinished in class BaseStepListenerpublic void testFinished(net.thucydides.core.model.TestOutcome result,
boolean isInDataDrivenTest)
BaseStepListenertestFinished in interface net.thucydides.core.steps.StepListenertestFinished in class BaseStepListenerresult - the result of the test that just finished.public void stepStarted(net.thucydides.core.steps.ExecutedStepDescription description)
BaseStepListenerstepStarted in interface net.thucydides.core.steps.StepListenerstepStarted in class BaseStepListenerdescription - the description of the test that is about to be runpublic void skippedStepStarted(net.thucydides.core.steps.ExecutedStepDescription description)
skippedStepStarted in interface net.thucydides.core.steps.StepListenerskippedStepStarted in class BaseStepListenerpublic void stepFinished()
stepFinished in interface net.thucydides.core.steps.StepListenerstepFinished in class BaseStepListenerpublic void stepFailed(net.thucydides.core.steps.StepFailure failure)
stepFailed in interface net.thucydides.core.steps.StepListenerstepFailed in class BaseStepListenerpublic void stepIgnored()
stepIgnored in interface net.thucydides.core.steps.StepListenerstepIgnored in class BaseStepListenerpublic void stepPending()
stepPending in interface net.thucydides.core.steps.StepListenerstepPending in class BaseStepListenerpublic void assumptionViolated(java.lang.String message)
assumptionViolated in interface net.thucydides.core.steps.StepListenerassumptionViolated in class BaseStepListenerpublic void testFailed(java.lang.Throwable cause)
public void testIgnored()
testIgnored in interface net.thucydides.core.steps.StepListenertestIgnored in class BaseStepListenerpublic void testSkipped()
testSkipped in interface net.thucydides.core.steps.StepListenertestSkipped in class BaseStepListenerpublic void testPending()
testPending in interface net.thucydides.core.steps.StepListenertestPending in class BaseStepListenerpublic void testFailed(net.thucydides.core.model.TestOutcome testOutcome,
java.lang.Throwable cause)
testFailed in interface net.thucydides.core.steps.StepListenertestFailed in class BaseStepListener