public class SkipTestListener extends Object implements org.testng.IInvokedMethodListener
@SkipTest
annotation
If annotation is present on test method and current HTTP connector matches
the HTTP connector specified by @SkipTest
, the listener will skip the test
by throwing TestNG SkipException
.
Constructor and Description |
---|
SkipTestListener() |
Modifier and Type | Method and Description |
---|---|
void |
afterInvocation(org.testng.IInvokedMethod iim,
org.testng.ITestResult itr) |
void |
beforeInvocation(org.testng.IInvokedMethod iim,
org.testng.ITestResult itr) |
public void beforeInvocation(org.testng.IInvokedMethod iim, org.testng.ITestResult itr)
beforeInvocation
in interface org.testng.IInvokedMethodListener
public void afterInvocation(org.testng.IInvokedMethod iim, org.testng.ITestResult itr)
afterInvocation
in interface org.testng.IInvokedMethodListener
Copyright © 2017. All Rights Reserved.