Class TestCountListener

java.lang.Object
net.thucydides.model.steps.StepListenerAdapter
net.thucydides.junit.listeners.TestCountListener
All Implemented Interfaces:
net.thucydides.model.steps.StepListener

public class TestCountListener extends net.thucydides.model.steps.StepListenerAdapter
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
     
    TestCountListener(net.thucydides.model.util.EnvironmentVariables environmentVariables, net.thucydides.model.statistics.TestCount testCount)
     
    protected
    TestCountListener(net.thucydides.model.util.EnvironmentVariables environmentVariables, org.slf4j.Logger logger, net.thucydides.model.statistics.TestCount testCount)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.slf4j.Logger
     
    void
    testStarted(String description)
     
    void
    testStarted(String description, String id)
     

    Methods inherited from class net.thucydides.model.steps.StepListenerAdapter

    addNewExamplesFrom, assumptionViolated, exampleFinished, exampleStarted, lastStepFailed, notifyScreenChange, skippedStepStarted, stepFailed, stepFailed, stepFailed, stepFinished, stepFinished, stepIgnored, stepPending, stepPending, stepStarted, takeScreenshots, takeScreenshots, testFailed, testFinished, testFinished, testIgnored, testIsManual, testPending, testRetried, testRunFinished, testSkipped, testStarted, testSuiteFinished, testSuiteStarted, testSuiteStarted, useExamplesFrom

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.thucydides.model.steps.StepListener

    exampleStarted, exampleStarted, exampleStarted, stepFinished, stepStarted, testAborted, testFinished, testStarted, testStarted, testSuiteStarted
  • Constructor Details

    • TestCountListener

      protected TestCountListener(net.thucydides.model.util.EnvironmentVariables environmentVariables, org.slf4j.Logger logger, net.thucydides.model.statistics.TestCount testCount)
    • TestCountListener

      public TestCountListener(net.thucydides.model.util.EnvironmentVariables environmentVariables, net.thucydides.model.statistics.TestCount testCount)
  • Method Details

    • getLogger

      protected org.slf4j.Logger getLogger()
    • testStarted

      public void testStarted(String description)
      Specified by:
      testStarted in interface net.thucydides.model.steps.StepListener
      Overrides:
      testStarted in class net.thucydides.model.steps.StepListenerAdapter
    • testStarted

      public void testStarted(String description, String id)
      Specified by:
      testStarted in interface net.thucydides.model.steps.StepListener
      Overrides:
      testStarted in class net.thucydides.model.steps.StepListenerAdapter