Interface WebTestListener
- All Known Implementing Classes:
AbstractWebTestListener,CompositeSuiteListener,FFMpegSuiteListener,LogTestInformationListener,TomcatShutdownListener
public interface WebTestListener
An observer of a
Test.- Since:
- v4.2
-
Method Summary
Modifier and TypeMethodDescriptionvoidsuiteFinished(WebTestDescription suiteDescription) Called when the whole web test suite is going finishing.voidsuiteStarted(WebTestDescription suiteDescription) Called when the whole web test suite is going to start.voidtestError(WebTestDescription description, Throwable error) Called when test ends with an errorvoidtestFailure(WebTestDescription description, Throwable failure) Called on test finished with an assertion failure.voidtestFinished(WebTestDescription description) Called on finished web test.voidtestStarted(WebTestDescription description) Called on start of a single web test.
-
Method Details
-
suiteStarted
Called when the whole web test suite is going to start.- Parameters:
suiteDescription- description of the whole suite
-
suiteFinished
Called when the whole web test suite is going finishing.- Parameters:
suiteDescription- description of the whole suite
-
testStarted
Called on start of a single web test.- Parameters:
description- test description
-
testFinished
Called on finished web test.- Parameters:
description- test description
-
testError
Called when test ends with an error- Parameters:
description- test descriptionerror- error
-
testFailure
Called on test finished with an assertion failure.- Parameters:
description- test descriptionfailure- failure
-