Used to report the status of tests. Derive from
TestReporterServiceBaseinstead of this interface. The base class performs some additional checks to ensure it is used correctly. Test frameworks, such as SPT, can report the status of the testing through a test reporter. Different test reporters handle these status messages differently. For example, a test reporter might simply write the test status to the standard output, whereas another test reporter would report the test results in the IDE UI.
Gets a logger to which the test output may be logged.
Returns: A logger.
The test session has finished. After this method no calls to the reporter are allowed.
testFailed(String name, String reason, String details)¶
- name – The name of the test.
- reason – The reason the test failed; or null.
- details – The details about the failed test, such as additional messages and the stack trace; or null.