Package com.codeborne.selenide.testng
Class TextReport
java.lang.Object
com.codeborne.selenide.testng.TextReport
- All Implemented Interfaces:
org.testng.IInvokedMethodListener,org.testng.ITestNGListener
- Direct Known Subclasses:
GlobalTextReport
@ParametersAreNonnullByDefault
public class TextReport
extends Object
implements org.testng.IInvokedMethodListener
Reports for all method of annotated class in the suite.
Annotate test classes to be reported with
@Listeners({TextReport.class}).
Child classes inherit @Listeners({TextReport.class}) from parent classes.- Since:
- Selenide 3.6
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic booleanstatic booleanprotected com.codeborne.selenide.logevents.SimpleReport -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterInvocation(org.testng.IInvokedMethod method, org.testng.ITestResult testResult) voidbeforeInvocation(org.testng.IInvokedMethod method, org.testng.ITestResult testResult) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.testng.IInvokedMethodListener
afterInvocation, beforeInvocation
-
Field Details
-
report
protected com.codeborne.selenide.logevents.SimpleReport report -
onFailedTest
public static boolean onFailedTest -
onSucceededTest
public static boolean onSucceededTest
-
-
Constructor Details
-
TextReport
public TextReport()
-
-
Method Details
-
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
-