public class AllureTestNg
extends java.lang.Object
implements org.testng.ISuiteListener, org.testng.ITestListener, org.testng.IInvokedMethodListener2
| Constructor and Description |
|---|
AllureTestNg() |
AllureTestNg(io.qameta.allure.AllureLifecycle lifecycle) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterInvocation(org.testng.IInvokedMethod method,
org.testng.ITestResult testResult) |
void |
afterInvocation(org.testng.IInvokedMethod method,
org.testng.ITestResult testResult,
org.testng.ITestContext context) |
void |
beforeInvocation(org.testng.IInvokedMethod method,
org.testng.ITestResult testResult) |
void |
beforeInvocation(org.testng.IInvokedMethod method,
org.testng.ITestResult testResult,
org.testng.ITestContext context) |
io.qameta.allure.AllureLifecycle |
getLifecycle() |
void |
onFinish(org.testng.ISuite suite) |
void |
onFinish(org.testng.ITestContext context) |
void |
onStart(org.testng.ISuite suite) |
void |
onStart(org.testng.ITestContext context) |
void |
onTestFailedButWithinSuccessPercentage(org.testng.ITestResult result) |
void |
onTestFailure(org.testng.ITestResult result) |
void |
onTestSkipped(org.testng.ITestResult result) |
void |
onTestStart(org.testng.ITestResult testResult) |
void |
onTestSuccess(org.testng.ITestResult testResult) |
public AllureTestNg(io.qameta.allure.AllureLifecycle lifecycle)
public AllureTestNg()
public io.qameta.allure.AllureLifecycle getLifecycle()
public void onStart(org.testng.ISuite suite)
onStart in interface org.testng.ISuiteListenerpublic void onStart(org.testng.ITestContext context)
onStart in interface org.testng.ITestListenerpublic void onFinish(org.testng.ISuite suite)
onFinish in interface org.testng.ISuiteListenerpublic void onFinish(org.testng.ITestContext context)
onFinish in interface org.testng.ITestListenerpublic void onTestStart(org.testng.ITestResult testResult)
onTestStart in interface org.testng.ITestListenerpublic void onTestSuccess(org.testng.ITestResult testResult)
onTestSuccess in interface org.testng.ITestListenerpublic void onTestFailure(org.testng.ITestResult result)
onTestFailure in interface org.testng.ITestListenerpublic void onTestSkipped(org.testng.ITestResult result)
onTestSkipped in interface org.testng.ITestListenerpublic void onTestFailedButWithinSuccessPercentage(org.testng.ITestResult result)
onTestFailedButWithinSuccessPercentage in interface org.testng.ITestListenerpublic void beforeInvocation(org.testng.IInvokedMethod method,
org.testng.ITestResult testResult)
beforeInvocation in interface org.testng.IInvokedMethodListenerpublic void beforeInvocation(org.testng.IInvokedMethod method,
org.testng.ITestResult testResult,
org.testng.ITestContext context)
beforeInvocation in interface org.testng.IInvokedMethodListener2public void afterInvocation(org.testng.IInvokedMethod method,
org.testng.ITestResult testResult)
afterInvocation in interface org.testng.IInvokedMethodListenerpublic void afterInvocation(org.testng.IInvokedMethod method,
org.testng.ITestResult testResult,
org.testng.ITestContext context)
afterInvocation in interface org.testng.IInvokedMethodListener2