TestListener

interface TestListener(source)

Interface for listening to test execution. The intent is to be framework agnostic. Currently this interface can support feedback from JUnit and TestNG tests.

Functions

Link copied to clipboard
abstract fun afterSuite(suite: TestDescriptor, result: TestResult)
Called after a test suite is finished.
Link copied to clipboard
abstract fun afterTest(testDescriptor: TestDescriptor, result: TestResult)
Called after an atomic test is finished.
Link copied to clipboard
abstract fun beforeSuite(suite: TestDescriptor)
Called before a test suite is started.
Link copied to clipboard
abstract fun beforeTest(testDescriptor: TestDescriptor)
Called before an atomic test is started.