1 package com
.intellij
.execution
.testframework
.sm
.runner
;
3 import org
.jetbrains
.annotations
.NotNull
;
6 * @author Roman Chernyatchik
8 * Handles Test Runner events
10 public interface SMTRunnerEventsListener
{
12 * On start testing, before tests and suits launching
15 void onTestingStarted(@NotNull SMTestProxy testsRoot
);
17 * After test framework finish testing
18 * @param testsRootNode
20 void onTestingFinished(@NotNull SMTestProxy testsRoot
);
22 * Tests count in next suite. For several suites this method will be invoked several times
24 void onTestsCountInSuite(int count
);
26 void onTestStarted(@NotNull SMTestProxy test
);
27 void onTestFinished(@NotNull SMTestProxy test
);
28 void onTestFailed(@NotNull SMTestProxy test
);
29 void onTestIgnored(@NotNull SMTestProxy test
);
31 void onSuiteFinished(@NotNull SMTestProxy suite
);
32 void onSuiteStarted(@NotNull SMTestProxy suite
);