Package com.codeborne.selenide.testng
Class GlobalTextReport
- java.lang.Object
-
- com.codeborne.selenide.testng.GlobalTextReport
-
- All Implemented Interfaces:
org.testng.IInvokedMethodListener,org.testng.ITestNGListener
public class GlobalTextReport extends java.lang.Object implements org.testng.IInvokedMethodListenerReports for every test method in the suite Annotate any test class in your suite with@Listeners({GlobalTextReport.class})- Since:
- Selenide 3.6
Use either
TextReportorGlobalTextReport, never both
-
-
Field Summary
Fields Modifier and Type Field Description protected SimpleReportreport
-
Constructor Summary
Constructors Constructor Description GlobalTextReport()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterInvocation(org.testng.IInvokedMethod method, org.testng.ITestResult testResult)voidbeforeInvocation(org.testng.IInvokedMethod method, org.testng.ITestResult testResult)
-
-
-
Field Detail
-
report
protected SimpleReport report
-
-
Method Detail
-
beforeInvocation
public void beforeInvocation(org.testng.IInvokedMethod method, org.testng.ITestResult testResult)- Specified by:
beforeInvocationin interfaceorg.testng.IInvokedMethodListener
-
afterInvocation
public void afterInvocation(org.testng.IInvokedMethod method, org.testng.ITestResult testResult)- Specified by:
afterInvocationin interfaceorg.testng.IInvokedMethodListener
-
-