|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ITestListener
A listener for test running.
| Method Summary | |
|---|---|
void |
onFinish(ITestContext context)
Invoked after all the tests have run and all their Configuration methods have been called. |
void |
onStart(ITestContext context)
Invoked after the test class is instantiated and before any configuration method is called. |
void |
onTestFailedButWithinSuccessPercentage(ITestResult result)
Invoked each time a method fails but has been annotated with successPercentage and this failure still keeps it within the success percentage requested. |
void |
onTestFailure(ITestResult result)
Invoked each time a test fails. |
void |
onTestSkipped(ITestResult result)
Invoked each time a test is skipped. |
void |
onTestSuccess(ITestResult result)
Invoked each time a test succeeds. |
| Method Detail |
|---|
void onTestSuccess(ITestResult result)
void onTestFailure(ITestResult result)
void onTestSkipped(ITestResult result)
void onTestFailedButWithinSuccessPercentage(ITestResult result)
result - void onStart(ITestContext context)
void onFinish(ITestContext context)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||