@ParametersAreNonnullByDefault
public class TextReport
extends java.lang.Object
implements org.testng.IInvokedMethodListener
@Listeners({TextReport.class})
Annotate test classes to be reported with @{@link Report}TextReport or GlobalTextReport, never both| Modifier and Type | Field and Description |
|---|---|
static boolean |
onFailedTest |
static boolean |
onSucceededTest |
protected SimpleReport |
report |
| Constructor and Description |
|---|
TextReport() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterInvocation(org.testng.IInvokedMethod method,
org.testng.ITestResult testResult) |
void |
beforeInvocation(org.testng.IInvokedMethod method,
org.testng.ITestResult testResult) |
protected SimpleReport report
public static boolean onFailedTest
public static boolean onSucceededTest
public void beforeInvocation(org.testng.IInvokedMethod method,
org.testng.ITestResult testResult)
beforeInvocation in interface org.testng.IInvokedMethodListenerpublic void afterInvocation(org.testng.IInvokedMethod method,
org.testng.ITestResult testResult)
afterInvocation in interface org.testng.IInvokedMethodListener