Interface Reporter<R>
- Type Parameters:
R- the report generic type
public interface Reporter<R>
The reporter defines a set of callback for the life cycle events.
- Author:
- Julien Viet
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidreportBeginTestCase(R report, String name) Signals a test case began.reportBeginTestSuite(String name) Signals the test suite began.voidreportEndTestCase(R report, String name, TestResult result) Signals a test case ended.voidreportEndTestSuite(R report) Signals a test suite ended.static Reporter<?> reporter(Vertx vertx, ReportOptions options) voidreportError(R report, Throwable err) Report a global test suite error, it can be called mulitple times between thereportBeginTestSuite(String)and thereportEndTestSuite(R).
-
Field Details
-
factory
-
-
Method Details
-
reporter
-
reportBeginTestSuite
-
reportBeginTestCase
-
reportEndTestCase
Signals a test case ended.- Parameters:
report- the reportname- the test case nameresult- the test case result
-
reportError
Report a global test suite error, it can be called mulitple times between thereportBeginTestSuite(String)and thereportEndTestSuite(R).- Parameters:
report- the reporterr- the test suite error
-
reportEndTestSuite
-