net.thucydides.junit.listeners
Class TestCountListener

Package class diagram package TestCountListener
java.lang.Object
  extended by net.thucydides.junit.listeners.TestCountListener
All Implemented Interfaces:
StepListener

public class TestCountListener
extends Object
implements StepListener


Constructor Summary
  TestCountListener(EnvironmentVariables environmentVariables)
           
protected TestCountListener(EnvironmentVariables environmentVariables, org.slf4j.Logger logger)
           
 
Method Summary
protected  org.slf4j.Logger getLogger()
           
 void lastStepFailed(StepFailure failure)
           
 void notifyScreenChange()
           
 void skippedStepStarted(ExecutedStepDescription description)
           
 void stepFailed(StepFailure failure)
           
 void stepFinished()
           
 void stepIgnored()
           
 void stepIgnored(String message)
           
 void stepPending()
           
 void stepPending(String message)
           
 void stepStarted(ExecutedStepDescription description)
           
 void testFailed(TestOutcome testOutcome, Throwable cause)
           
 void testFinished(TestOutcome result)
           
 void testIgnored()
           
 void testStarted(String description)
           
 void testSuiteFinished()
           
 void testSuiteStarted(Class<?> storyClass)
           
 void testSuiteStarted(Story story)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestCountListener

protected TestCountListener(EnvironmentVariables environmentVariables,
                            org.slf4j.Logger logger)

TestCountListener

public TestCountListener(EnvironmentVariables environmentVariables)
Method Detail

getLogger

protected org.slf4j.Logger getLogger()

testSuiteStarted

public void testSuiteStarted(Class<?> storyClass)
Specified by:
testSuiteStarted in interface StepListener

testSuiteStarted

public void testSuiteStarted(Story story)
Specified by:
testSuiteStarted in interface StepListener

testSuiteFinished

public void testSuiteFinished()
Specified by:
testSuiteFinished in interface StepListener

testStarted

public void testStarted(String description)
Specified by:
testStarted in interface StepListener

testFinished

public void testFinished(TestOutcome result)
Specified by:
testFinished in interface StepListener

stepStarted

public void stepStarted(ExecutedStepDescription description)
Specified by:
stepStarted in interface StepListener

skippedStepStarted

public void skippedStepStarted(ExecutedStepDescription description)
Specified by:
skippedStepStarted in interface StepListener

stepFailed

public void stepFailed(StepFailure failure)
Specified by:
stepFailed in interface StepListener

lastStepFailed

public void lastStepFailed(StepFailure failure)
Specified by:
lastStepFailed in interface StepListener

stepIgnored

public void stepIgnored()
Specified by:
stepIgnored in interface StepListener

stepIgnored

public void stepIgnored(String message)
Specified by:
stepIgnored in interface StepListener

stepPending

public void stepPending()
Specified by:
stepPending in interface StepListener

stepPending

public void stepPending(String message)
Specified by:
stepPending in interface StepListener

stepFinished

public void stepFinished()
Specified by:
stepFinished in interface StepListener

testFailed

public void testFailed(TestOutcome testOutcome,
                       Throwable cause)
Specified by:
testFailed in interface StepListener

testIgnored

public void testIgnored()
Specified by:
testIgnored in interface StepListener

notifyScreenChange

public void notifyScreenChange()
Specified by:
notifyScreenChange in interface StepListener


Copyright © 2011-2012 Wakaleo Consulting. All Rights Reserved.