Package com.codeborne.selenide.testng
Class BrowserPerTest
java.lang.Object
org.testng.reporters.ExitCodeListener
com.codeborne.selenide.testng.BrowserPerTest
- All Implemented Interfaces:
org.testng.IConfigurationListener
,org.testng.internal.IResultListener
,org.testng.internal.IResultListener2
,org.testng.ITestListener
,org.testng.ITestNGListener
@ParametersAreNonnullByDefault
public class BrowserPerTest
extends org.testng.reporters.ExitCodeListener
Annotate your test class with
@Listeners({ BrowserPerTest.class})
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onConfigurationFailure
(org.testng.ITestResult result) void
onTestFailedButWithinSuccessPercentage
(org.testng.ITestResult result) void
onTestFailure
(org.testng.ITestResult result) void
onTestSuccess
(org.testng.ITestResult result) Methods inherited from class org.testng.reporters.ExitCodeListener
beforeConfiguration, onConfigurationSkip, onConfigurationSuccess, onFinish, onStart, onTestSkipped, onTestStart
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.testng.IConfigurationListener
beforeConfiguration, onConfigurationFailure, onConfigurationSkip, onConfigurationSuccess
Methods inherited from interface org.testng.ITestListener
onTestFailedWithTimeout
-
Constructor Details
-
BrowserPerTest
public BrowserPerTest()
-
-
Method Details
-
onTestFailure
public void onTestFailure(org.testng.ITestResult result) - Specified by:
onTestFailure
in interfaceorg.testng.ITestListener
- Overrides:
onTestFailure
in classorg.testng.reporters.ExitCodeListener
-
onTestFailedButWithinSuccessPercentage
public void onTestFailedButWithinSuccessPercentage(org.testng.ITestResult result) - Specified by:
onTestFailedButWithinSuccessPercentage
in interfaceorg.testng.ITestListener
- Overrides:
onTestFailedButWithinSuccessPercentage
in classorg.testng.reporters.ExitCodeListener
-
onTestSuccess
public void onTestSuccess(org.testng.ITestResult result) - Specified by:
onTestSuccess
in interfaceorg.testng.ITestListener
- Overrides:
onTestSuccess
in classorg.testng.reporters.ExitCodeListener
-
onConfigurationFailure
public void onConfigurationFailure(org.testng.ITestResult result) - Specified by:
onConfigurationFailure
in interfaceorg.testng.IConfigurationListener
- Overrides:
onConfigurationFailure
in classorg.testng.reporters.ExitCodeListener
-