public interface TestListener
| Modifier and Type | Method | Description | 
|---|---|---|
| void | afterSuite(TestDescriptor suite,
          TestResult result) | Called after a test suite is finished. | 
| void | afterTest(TestDescriptor testDescriptor,
         TestResult result) | Called after an atomic test is finished. | 
| void | beforeSuite(TestDescriptor suite) | Called before a test suite is started. | 
| void | beforeTest(TestDescriptor testDescriptor) | Called before an atomic test is started. | 
void beforeSuite(TestDescriptor suite)
suite - The suite whose tests are about to be executed.void afterSuite(TestDescriptor suite, TestResult result)
suite - The suite whose tests have finished being executed.result - The aggregate result for the suite.void beforeTest(TestDescriptor testDescriptor)
testDescriptor - The test which is about to be executed.void afterTest(TestDescriptor testDescriptor, TestResult result)
testDescriptor - The test which has finished executing.result - The test result.