org.testng.IHookable, org.testng.ITestNGListenerBMNGListener, BMNGRunnerpublic abstract class BMNGAbstractRunner extends Object implements org.testng.IHookable
| Constructor | Description |
|---|---|
BMNGAbstractRunner() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
bmngAfterClass(Class<?> testKlazz) |
provides behaviour to unload rules specified via BMScript or BMRule annotations
attached to the supplied test class.
|
void |
bmngAfterTest(Method method) |
provides behaviour to unload rules specified via annotations associated with a specific
method of a test class.
|
void |
bmngBeforeClass(Class<?> testKlazz) |
provides behaviour to load rules specified via BMScript or BMRule annotations
attached to the supplied test class.
|
void |
bmngBeforeTest(Method method) |
provides behaviour to load rules specified via annotations associated with a specific
method of a test class.
|
void |
run(org.testng.IHookCallBack callBack,
org.testng.ITestResult testResult) |
implement standard run behaviour by devolving control back to the original runner
using the hook callback
|
void |
switchClass(Class newClazz) |
public void run(org.testng.IHookCallBack callBack,
org.testng.ITestResult testResult)
run in interface org.testng.IHookablecallBack - not usedtestResult - used to post resultspublic void bmngBeforeClass(Class<?> testKlazz) throws Exception
testKlazz - the class whose tests are being runException - if the test cannot be runpublic void bmngAfterClass(Class<?> testKlazz) throws Exception
testKlazz - the class whose tests are being runException - if cleanup failspublic void bmngBeforeTest(Method method) throws Exception
method - the test method about to be runException - if the test cannot be runpublic void bmngAfterTest(Method method) throws Exception
method - the test method about to be runException - if the test cannot be runpublic void switchClass(Class newClazz)
Copyright © 2018. All rights reserved.