Package com.codeborne.selenide.testng
Class BrowserPerClass
java.lang.Object
org.testng.reporters.ExitCodeListener
com.codeborne.selenide.testng.BrowserPerClass
- All Implemented Interfaces:
org.testng.IConfigurationListener
,org.testng.internal.IResultListener
,org.testng.internal.IResultListener2
,org.testng.ITestListener
,org.testng.ITestNGListener
public class BrowserPerClass
extends org.testng.reporters.ExitCodeListener
Annotate your test class with
@Listeners({ BrowserPerClass.class})
-
Constructor Summary
-
Method Summary
Methods inherited from class org.testng.reporters.ExitCodeListener
beforeConfiguration, onConfigurationFailure, onConfigurationSkip, onConfigurationSuccess, onStart, onTestFailedButWithinSuccessPercentage, onTestFailure, onTestSkipped, onTestStart, onTestSuccess
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
-
BrowserPerClass
public BrowserPerClass()
-
-
Method Details
-
onFinish
public void onFinish(org.testng.ITestContext context) - Specified by:
onFinish
in interfaceorg.testng.ITestListener
- Overrides:
onFinish
in classorg.testng.reporters.ExitCodeListener
-