Package net.serenitybdd.junit5.counter
Class TestCountListener
- java.lang.Object
-
- net.serenitybdd.junit5.counter.TestCountListener
-
- All Implemented Interfaces:
net.thucydides.core.steps.StepListener
public class TestCountListener extends java.lang.Object implements net.thucydides.core.steps.StepListener
-
-
Constructor Summary
Constructors Modifier Constructor Description TestCountListener(net.thucydides.core.util.EnvironmentVariables environmentVariables, net.thucydides.core.statistics.TestCount testCount)protectedTestCountListener(net.thucydides.core.util.EnvironmentVariables environmentVariables, org.slf4j.Logger logger, net.thucydides.core.statistics.TestCount testCount)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddNewExamplesFrom(net.thucydides.core.model.DataTable table)voidassumptionViolated(java.lang.String message)voidexampleFinished()voidexampleStarted(java.util.Map<java.lang.String,java.lang.String> data)protected org.slf4j.LoggergetLogger()voidlastStepFailed(net.thucydides.core.steps.StepFailure failure)voidnotifyScreenChange()voidskippedStepStarted(net.thucydides.core.steps.ExecutedStepDescription description)voidstepFailed(net.thucydides.core.steps.StepFailure failure)voidstepFinished()voidstepIgnored()voidstepPending()voidstepPending(java.lang.String message)voidstepStarted(net.thucydides.core.steps.ExecutedStepDescription description)voidtestFailed(net.thucydides.core.model.TestOutcome testOutcome, java.lang.Throwable cause)voidtestFinished(net.thucydides.core.model.TestOutcome result)voidtestIgnored()voidtestIsManual()voidtestPending()voidtestRetried()voidtestRunFinished()voidtestSkipped()voidtestStarted(java.lang.String description)voidtestStarted(java.lang.String description, java.lang.String id)voidtestSuiteFinished()voidtestSuiteStarted(java.lang.Class<?> storyClass)voidtestSuiteStarted(net.thucydides.core.model.Story storyOrFeature)voiduseExamplesFrom(net.thucydides.core.model.DataTable table)
-
-
-
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:
testSuiteStartedin interfacenet.thucydides.core.steps.StepListener
-
testSuiteStarted
public void testSuiteStarted(net.thucydides.core.model.Story storyOrFeature)
- Specified by:
testSuiteStartedin interfacenet.thucydides.core.steps.StepListener
-
testSuiteFinished
public void testSuiteFinished()
- Specified by:
testSuiteFinishedin interfacenet.thucydides.core.steps.StepListener
-
testStarted
public void testStarted(java.lang.String description)
- Specified by:
testStartedin interfacenet.thucydides.core.steps.StepListener
-
testStarted
public void testStarted(java.lang.String description, java.lang.String id)- Specified by:
testStartedin interfacenet.thucydides.core.steps.StepListener
-
testFinished
public void testFinished(net.thucydides.core.model.TestOutcome result)
- Specified by:
testFinishedin interfacenet.thucydides.core.steps.StepListener
-
testRetried
public void testRetried()
- Specified by:
testRetriedin interfacenet.thucydides.core.steps.StepListener
-
stepStarted
public void stepStarted(net.thucydides.core.steps.ExecutedStepDescription description)
- Specified by:
stepStartedin interfacenet.thucydides.core.steps.StepListener
-
skippedStepStarted
public void skippedStepStarted(net.thucydides.core.steps.ExecutedStepDescription description)
- Specified by:
skippedStepStartedin interfacenet.thucydides.core.steps.StepListener
-
stepFailed
public void stepFailed(net.thucydides.core.steps.StepFailure failure)
- Specified by:
stepFailedin interfacenet.thucydides.core.steps.StepListener
-
lastStepFailed
public void lastStepFailed(net.thucydides.core.steps.StepFailure failure)
- Specified by:
lastStepFailedin interfacenet.thucydides.core.steps.StepListener
-
stepIgnored
public void stepIgnored()
- Specified by:
stepIgnoredin interfacenet.thucydides.core.steps.StepListener
-
stepPending
public void stepPending()
- Specified by:
stepPendingin interfacenet.thucydides.core.steps.StepListener
-
stepPending
public void stepPending(java.lang.String message)
- Specified by:
stepPendingin interfacenet.thucydides.core.steps.StepListener
-
stepFinished
public void stepFinished()
- Specified by:
stepFinishedin interfacenet.thucydides.core.steps.StepListener
-
testFailed
public void testFailed(net.thucydides.core.model.TestOutcome testOutcome, java.lang.Throwable cause)- Specified by:
testFailedin interfacenet.thucydides.core.steps.StepListener
-
testIgnored
public void testIgnored()
- Specified by:
testIgnoredin interfacenet.thucydides.core.steps.StepListener
-
testSkipped
public void testSkipped()
- Specified by:
testSkippedin interfacenet.thucydides.core.steps.StepListener
-
testPending
public void testPending()
- Specified by:
testPendingin interfacenet.thucydides.core.steps.StepListener
-
testIsManual
public void testIsManual()
- Specified by:
testIsManualin interfacenet.thucydides.core.steps.StepListener
-
notifyScreenChange
public void notifyScreenChange()
- Specified by:
notifyScreenChangein interfacenet.thucydides.core.steps.StepListener
-
useExamplesFrom
public void useExamplesFrom(net.thucydides.core.model.DataTable table)
- Specified by:
useExamplesFromin interfacenet.thucydides.core.steps.StepListener
-
addNewExamplesFrom
public void addNewExamplesFrom(net.thucydides.core.model.DataTable table)
- Specified by:
addNewExamplesFromin interfacenet.thucydides.core.steps.StepListener
-
exampleStarted
public void exampleStarted(java.util.Map<java.lang.String,java.lang.String> data)
- Specified by:
exampleStartedin interfacenet.thucydides.core.steps.StepListener
-
exampleFinished
public void exampleFinished()
- Specified by:
exampleFinishedin interfacenet.thucydides.core.steps.StepListener
-
assumptionViolated
public void assumptionViolated(java.lang.String message)
- Specified by:
assumptionViolatedin interfacenet.thucydides.core.steps.StepListener
-
testRunFinished
public void testRunFinished()
- Specified by:
testRunFinishedin interfacenet.thucydides.core.steps.StepListener
-
-