Class TestCountListener

  • All Implemented Interfaces:
    net.thucydides.core.steps.StepListener

    public class TestCountListener
    extends java.lang.Object
    implements net.thucydides.core.steps.StepListener
    • Constructor Detail

      • TestCountListener

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

        public TestCountListener​(net.thucydides.core.util.EnvironmentVariables environmentVariables,
                                 net.thucydides.core.statistics.TestCount testCount)
    • Method Detail

      • getLogger

        protected org.slf4j.Logger getLogger()
      • testSuiteStarted

        public void testSuiteStarted​(java.lang.Class<?> storyClass)
        Specified by:
        testSuiteStarted in interface net.thucydides.core.steps.StepListener
      • testSuiteStarted

        public void testSuiteStarted​(net.thucydides.core.model.Story storyOrFeature)
        Specified by:
        testSuiteStarted in interface net.thucydides.core.steps.StepListener
      • testSuiteFinished

        public void testSuiteFinished()
        Specified by:
        testSuiteFinished in interface net.thucydides.core.steps.StepListener
      • testStarted

        public void testStarted​(java.lang.String description)
        Specified by:
        testStarted in interface net.thucydides.core.steps.StepListener
      • testStarted

        public void testStarted​(java.lang.String description,
                                java.lang.String id)
        Specified by:
        testStarted in interface net.thucydides.core.steps.StepListener
      • testFinished

        public void testFinished​(net.thucydides.core.model.TestOutcome result)
        Specified by:
        testFinished in interface net.thucydides.core.steps.StepListener
      • testRetried

        public void testRetried()
        Specified by:
        testRetried in interface net.thucydides.core.steps.StepListener
      • stepStarted

        public void stepStarted​(net.thucydides.core.steps.ExecutedStepDescription description)
        Specified by:
        stepStarted in interface net.thucydides.core.steps.StepListener
      • skippedStepStarted

        public void skippedStepStarted​(net.thucydides.core.steps.ExecutedStepDescription description)
        Specified by:
        skippedStepStarted in interface net.thucydides.core.steps.StepListener
      • stepFailed

        public void stepFailed​(net.thucydides.core.steps.StepFailure failure)
        Specified by:
        stepFailed in interface net.thucydides.core.steps.StepListener
      • lastStepFailed

        public void lastStepFailed​(net.thucydides.core.steps.StepFailure failure)
        Specified by:
        lastStepFailed in interface net.thucydides.core.steps.StepListener
      • stepIgnored

        public void stepIgnored()
        Specified by:
        stepIgnored in interface net.thucydides.core.steps.StepListener
      • stepPending

        public void stepPending()
        Specified by:
        stepPending in interface net.thucydides.core.steps.StepListener
      • stepPending

        public void stepPending​(java.lang.String message)
        Specified by:
        stepPending in interface net.thucydides.core.steps.StepListener
      • stepFinished

        public void stepFinished()
        Specified by:
        stepFinished in interface net.thucydides.core.steps.StepListener
      • testFailed

        public void testFailed​(net.thucydides.core.model.TestOutcome testOutcome,
                               java.lang.Throwable cause)
        Specified by:
        testFailed in interface net.thucydides.core.steps.StepListener
      • testIgnored

        public void testIgnored()
        Specified by:
        testIgnored in interface net.thucydides.core.steps.StepListener
      • testSkipped

        public void testSkipped()
        Specified by:
        testSkipped in interface net.thucydides.core.steps.StepListener
      • testPending

        public void testPending()
        Specified by:
        testPending in interface net.thucydides.core.steps.StepListener
      • testIsManual

        public void testIsManual()
        Specified by:
        testIsManual in interface net.thucydides.core.steps.StepListener
      • notifyScreenChange

        public void notifyScreenChange()
        Specified by:
        notifyScreenChange in interface net.thucydides.core.steps.StepListener
      • useExamplesFrom

        public void useExamplesFrom​(net.thucydides.core.model.DataTable table)
        Specified by:
        useExamplesFrom in interface net.thucydides.core.steps.StepListener
      • addNewExamplesFrom

        public void addNewExamplesFrom​(net.thucydides.core.model.DataTable table)
        Specified by:
        addNewExamplesFrom in interface net.thucydides.core.steps.StepListener
      • exampleStarted

        public void exampleStarted​(java.util.Map<java.lang.String,​java.lang.String> data)
        Specified by:
        exampleStarted in interface net.thucydides.core.steps.StepListener
      • exampleFinished

        public void exampleFinished()
        Specified by:
        exampleFinished in interface net.thucydides.core.steps.StepListener
      • assumptionViolated

        public void assumptionViolated​(java.lang.String message)
        Specified by:
        assumptionViolated in interface net.thucydides.core.steps.StepListener
      • testRunFinished

        public void testRunFinished()
        Specified by:
        testRunFinished in interface net.thucydides.core.steps.StepListener