-
- All Implemented Interfaces:
-
com.kaspersky.kaspresso.interceptors.watcher.testcase.TestContextHolder
public interface TestRunWatcherInterceptor implements TestContextHolder
The interface for all interceptors intercepting test run events.
-
-
Method Summary
Modifier and Type Method Description UnitonTestStarted(TestInfo testInfo)UnitonBeforeSectionStarted(TestInfo testInfo)UnitonBeforeSectionFinishedSuccess(TestInfo testInfo)UnitonBeforeSectionFinishedFailed(TestInfo testInfo, Throwable throwable)UnitonMainSectionStarted(TestInfo testInfo)UnitonMainSectionFinishedSuccess(TestInfo testInfo)UnitonMainSectionFinishedFailed(TestInfo testInfo, Throwable throwable)UnitonAfterSectionStarted(TestInfo testInfo)UnitonAfterSectionFinishedSuccess(TestInfo testInfo)UnitonAfterSectionFinishedFailed(TestInfo testInfo, Throwable throwable)UnitonTestFinished(TestInfo testInfo, Boolean success)-
Methods inherited from class com.kaspersky.kaspresso.interceptors.watcher.testcase.TestRunWatcherInterceptor
setBaseTestContext -
Methods inherited from class com.kaspersky.kaspresso.interceptors.watcher.testcase.TestContextHolder
equals, hashCode, toString -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
onTestStarted
Unit onTestStarted(TestInfo testInfo)
-
onBeforeSectionStarted
Unit onBeforeSectionStarted(TestInfo testInfo)
-
onBeforeSectionFinishedSuccess
Unit onBeforeSectionFinishedSuccess(TestInfo testInfo)
-
onBeforeSectionFinishedFailed
Unit onBeforeSectionFinishedFailed(TestInfo testInfo, Throwable throwable)
-
onMainSectionStarted
Unit onMainSectionStarted(TestInfo testInfo)
-
onMainSectionFinishedSuccess
Unit onMainSectionFinishedSuccess(TestInfo testInfo)
-
onMainSectionFinishedFailed
Unit onMainSectionFinishedFailed(TestInfo testInfo, Throwable throwable)
-
onAfterSectionStarted
Unit onAfterSectionStarted(TestInfo testInfo)
-
onAfterSectionFinishedSuccess
Unit onAfterSectionFinishedSuccess(TestInfo testInfo)
-
onAfterSectionFinishedFailed
Unit onAfterSectionFinishedFailed(TestInfo testInfo, Throwable throwable)
-
onTestFinished
Unit onTestFinished(TestInfo testInfo, Boolean success)
-
-
-
-