|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectnet.thucydides.core.steps.BaseStepListener
net.thucydides.core.steps.ConsoleStepListener
public class ConsoleStepListener
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class net.thucydides.core.steps.BaseStepListener |
|---|
BaseStepListener.ScreenshotType |
| Constructor Summary | |
|---|---|
ConsoleStepListener()
|
|
| Method Summary | |
|---|---|
void |
skippedStepStarted(ExecutedStepDescription description)
Called when a test step is about to be started, but this step is scheduled to be skipped. |
void |
stepFailed(StepFailure failure)
Called when a test step fails. |
void |
stepFinished()
Called when an test step has finished successfully |
void |
stepIgnored()
Called when a step will not be run, generally because a test method is annotated with Ignore. |
void |
stepPending()
The step is marked as pending. |
void |
stepStarted(ExecutedStepDescription description)
A step within a test is called. |
void |
testFailed(TestOutcome testOutcome,
Throwable cause)
The test failed, but not while executing a step. |
void |
testFailed(Throwable cause)
|
void |
testFinished(TestOutcome result)
A test has finished. |
void |
testIgnored()
The test as a whole was skipped or ignored. |
void |
testStarted(String description)
An individual test starts. |
String |
toString()
|
| Methods inherited from class net.thucydides.core.steps.BaseStepListener |
|---|
aStepHasFailed, getClock, getCurrentTestOutcome, getDriver, getPhotographer, getProxyFactory, getTestFailureCause, getTestOutcomes, lastStepFailed, notifyScreenChange, setDriver, stepIgnored, stepPending, testSuiteFinished, testSuiteStarted, testSuiteStarted |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ConsoleStepListener()
| Method Detail |
|---|
public String toString()
toString in class Objectpublic void testStarted(String description)
BaseStepListener
testStarted in interface StepListenertestStarted in class BaseStepListenerdescription - the name of the test method in the test suite class.public void testFinished(TestOutcome result)
BaseStepListener
testFinished in interface StepListenertestFinished in class BaseStepListenerresult - the result of the test that just finished.public void stepStarted(ExecutedStepDescription description)
BaseStepListener
stepStarted in interface StepListenerstepStarted in class BaseStepListenerdescription - the description of the test that is about to be runpublic void skippedStepStarted(ExecutedStepDescription description)
StepListener
skippedStepStarted in interface StepListenerskippedStepStarted in class BaseStepListenerdescription - the description of the test that is about to be run
(generally a class and method name)public void stepFinished()
StepListener
stepFinished in interface StepListenerstepFinished in class BaseStepListenerpublic void stepFailed(StepFailure failure)
StepListener
stepFailed in interface StepListenerstepFailed in class BaseStepListenerfailure - describes the test that failed and the exception that was thrownpublic void stepIgnored()
StepListenerIgnore.
stepIgnored in interface StepListenerstepIgnored in class BaseStepListenerpublic void stepPending()
StepListener
stepPending in interface StepListenerstepPending in class BaseStepListenerpublic void testFailed(Throwable cause)
public void testIgnored()
StepListener
testIgnored in interface StepListenertestIgnored in class BaseStepListener
public void testFailed(TestOutcome testOutcome,
Throwable cause)
StepListener
testFailed in interface StepListenertestFailed in class BaseStepListenertestOutcome - The test outcome structure for the failing testcause - The exception that triggered the failure
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||