java.lang.Object
net.thucydides.junit.listeners.TestCountListener
- All Implemented Interfaces:
net.thucydides.model.steps.StepListener
-
Constructor Summary
ConstructorsModifierConstructorDescriptionTestCountListener(net.thucydides.model.util.EnvironmentVariables environmentVariables, net.thucydides.model.statistics.TestCount testCount) protectedTestCountListener(net.thucydides.model.util.EnvironmentVariables environmentVariables, org.slf4j.Logger logger, net.thucydides.model.statistics.TestCount testCount) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddNewExamplesFrom(net.thucydides.model.domain.DataTable table) voidassumptionViolated(String message) voidvoidexampleStarted(Map<String, String> data) protected org.slf4j.LoggervoidlastStepFailed(net.thucydides.model.steps.StepFailure failure) voidvoidskippedStepStarted(net.thucydides.model.steps.ExecutedStepDescription description) voidstepFailed(net.thucydides.model.steps.StepFailure failure) voidstepFailed(net.thucydides.model.steps.StepFailure failure, List<net.thucydides.model.screenshots.ScreenshotAndHtmlSource> screenshotList) voidvoidstepFinished(List<net.thucydides.model.screenshots.ScreenshotAndHtmlSource> screenshotList) voidstepFinished(List<net.thucydides.model.screenshots.ScreenshotAndHtmlSource> screenshotList, ZonedDateTime time) voidvoidvoidstepPending(String message) voidstepStarted(net.thucydides.model.steps.ExecutedStepDescription description) voidtakeScreenshots(List<net.thucydides.model.screenshots.ScreenshotAndHtmlSource> screenshots) voidtakeScreenshots(net.thucydides.model.domain.TestResult testResult, List<net.thucydides.model.screenshots.ScreenshotAndHtmlSource> screenshots) voidvoidtestFailed(net.thucydides.model.domain.TestOutcome testOutcome, Throwable cause) voidtestFinished(net.thucydides.model.domain.TestOutcome result) voidtestFinished(net.thucydides.model.domain.TestOutcome result, boolean isInDataDrivenTest, ZonedDateTime finishTime) voidvoidvoidvoidvoidvoidvoidtestStarted(String description) voidtestStarted(String description, String id) voidtestStarted(String description, String id, ZonedDateTime startTime) voidvoidtestSuiteStarted(Class<?> storyClass) voidtestSuiteStarted(net.thucydides.model.domain.Story storyOrFeature) voiduseExamplesFrom(net.thucydides.model.domain.DataTable table) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.thucydides.model.steps.StepListener
exampleStarted, exampleStarted, exampleStarted, stepStarted, 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() -
testSuiteStarted
- Specified by:
testSuiteStartedin interfacenet.thucydides.model.steps.StepListener
-
testSuiteStarted
public void testSuiteStarted(net.thucydides.model.domain.Story storyOrFeature) - Specified by:
testSuiteStartedin interfacenet.thucydides.model.steps.StepListener
-
testSuiteFinished
public void testSuiteFinished()- Specified by:
testSuiteFinishedin interfacenet.thucydides.model.steps.StepListener
-
testStarted
- Specified by:
testStartedin interfacenet.thucydides.model.steps.StepListener
-
testStarted
- Specified by:
testStartedin interfacenet.thucydides.model.steps.StepListener
-
testStarted
- Specified by:
testStartedin interfacenet.thucydides.model.steps.StepListener
-
testFinished
public void testFinished(net.thucydides.model.domain.TestOutcome result) - Specified by:
testFinishedin interfacenet.thucydides.model.steps.StepListener
-
testFinished
public void testFinished(net.thucydides.model.domain.TestOutcome result, boolean isInDataDrivenTest, ZonedDateTime finishTime) - Specified by:
testFinishedin interfacenet.thucydides.model.steps.StepListener
-
testRetried
public void testRetried()- Specified by:
testRetriedin interfacenet.thucydides.model.steps.StepListener
-
stepStarted
public void stepStarted(net.thucydides.model.steps.ExecutedStepDescription description) - Specified by:
stepStartedin interfacenet.thucydides.model.steps.StepListener
-
skippedStepStarted
public void skippedStepStarted(net.thucydides.model.steps.ExecutedStepDescription description) - Specified by:
skippedStepStartedin interfacenet.thucydides.model.steps.StepListener
-
stepFailed
public void stepFailed(net.thucydides.model.steps.StepFailure failure) - Specified by:
stepFailedin interfacenet.thucydides.model.steps.StepListener
-
stepFailed
public void stepFailed(net.thucydides.model.steps.StepFailure failure, List<net.thucydides.model.screenshots.ScreenshotAndHtmlSource> screenshotList) - Specified by:
stepFailedin interfacenet.thucydides.model.steps.StepListener
-
lastStepFailed
public void lastStepFailed(net.thucydides.model.steps.StepFailure failure) - Specified by:
lastStepFailedin interfacenet.thucydides.model.steps.StepListener
-
stepIgnored
public void stepIgnored()- Specified by:
stepIgnoredin interfacenet.thucydides.model.steps.StepListener
-
stepPending
public void stepPending()- Specified by:
stepPendingin interfacenet.thucydides.model.steps.StepListener
-
stepPending
- Specified by:
stepPendingin interfacenet.thucydides.model.steps.StepListener
-
stepFinished
public void stepFinished()- Specified by:
stepFinishedin interfacenet.thucydides.model.steps.StepListener
-
stepFinished
public void stepFinished(List<net.thucydides.model.screenshots.ScreenshotAndHtmlSource> screenshotList) - Specified by:
stepFinishedin interfacenet.thucydides.model.steps.StepListener
-
stepFinished
public void stepFinished(List<net.thucydides.model.screenshots.ScreenshotAndHtmlSource> screenshotList, ZonedDateTime time) - Specified by:
stepFinishedin interfacenet.thucydides.model.steps.StepListener
-
testFailed
- Specified by:
testFailedin interfacenet.thucydides.model.steps.StepListener
-
testIgnored
public void testIgnored()- Specified by:
testIgnoredin interfacenet.thucydides.model.steps.StepListener
-
testSkipped
public void testSkipped()- Specified by:
testSkippedin interfacenet.thucydides.model.steps.StepListener
-
testAborted
public void testAborted()- Specified by:
testAbortedin interfacenet.thucydides.model.steps.StepListener
-
testPending
public void testPending()- Specified by:
testPendingin interfacenet.thucydides.model.steps.StepListener
-
testIsManual
public void testIsManual()- Specified by:
testIsManualin interfacenet.thucydides.model.steps.StepListener
-
notifyScreenChange
public void notifyScreenChange()- Specified by:
notifyScreenChangein interfacenet.thucydides.model.steps.StepListener
-
useExamplesFrom
public void useExamplesFrom(net.thucydides.model.domain.DataTable table) - Specified by:
useExamplesFromin interfacenet.thucydides.model.steps.StepListener
-
addNewExamplesFrom
public void addNewExamplesFrom(net.thucydides.model.domain.DataTable table) - Specified by:
addNewExamplesFromin interfacenet.thucydides.model.steps.StepListener
-
exampleStarted
- Specified by:
exampleStartedin interfacenet.thucydides.model.steps.StepListener
-
exampleFinished
public void exampleFinished()- Specified by:
exampleFinishedin interfacenet.thucydides.model.steps.StepListener
-
assumptionViolated
- Specified by:
assumptionViolatedin interfacenet.thucydides.model.steps.StepListener
-
testRunFinished
public void testRunFinished()- Specified by:
testRunFinishedin interfacenet.thucydides.model.steps.StepListener
-
takeScreenshots
public void takeScreenshots(List<net.thucydides.model.screenshots.ScreenshotAndHtmlSource> screenshots) - Specified by:
takeScreenshotsin interfacenet.thucydides.model.steps.StepListener
-
takeScreenshots
public void takeScreenshots(net.thucydides.model.domain.TestResult testResult, List<net.thucydides.model.screenshots.ScreenshotAndHtmlSource> screenshots) - Specified by:
takeScreenshotsin interfacenet.thucydides.model.steps.StepListener
-