Package org.citrusframework.report
Class TestListeners
java.lang.Object
org.citrusframework.report.TestListeners
- All Implemented Interfaces:
TestListenerAware
Class that spreads test events to all available test listeners
injected by Spring's IoC container.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddTestListener(TestListener listener) Adds a new test listener.Obtains the testListeners.voidonAfterTestEnd(TestCase test) voidonAfterTestStart(TestCase test) voidonBeforeTestEnd(TestCase test) voidonBeforeTestStart(TestCase test) voidonFinalActionsEnd(TestCase test) voidonFinalActionsStart(TestCase test) voidonTestExecutionEnd(TestCase test) voidonTestExecutionStart(TestCase test) voidonTestFailure(TestCase test, Throwable cause) voidonTestFinalization(TestCase test) voidonTestFinish(TestCase test) Deprecated, for removal: This API element is subject to removal in a future version.voidonTestSkipped(TestCase test) voidonTestStart(TestCase test) voidonTestSuccess(TestCase test)
-
Constructor Details
-
TestListeners
public TestListeners()
-
-
Method Details
-
onTestFailure
-
onTestFinish
Deprecated, for removal: This API element is subject to removal in a future version.use ononTestExecutionEnd(TestCase) -
onTestExecutionStart
-
onTestExecutionEnd
-
onTestSkipped
-
onTestStart
-
onTestFinalization
-
onFinalActionsStart
-
onFinalActionsEnd
-
onBeforeTestEnd
-
onAfterTestEnd
-
onBeforeTestStart
-
onAfterTestStart
-
onTestSuccess
-
addTestListener
Description copied from interface:TestListenerAwareAdds a new test listener.- Specified by:
addTestListenerin interfaceTestListenerAware
-
getTestListeners
Obtains the testListeners.
-
onTestExecutionEnd(TestCase)