public abstract class BMNGAbstractRunner extends Object implements org.testng.IHookable
Constructor and Description |
---|
BMNGAbstractRunner() |
Modifier and Type | Method and 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
|
public void run(org.testng.IHookCallBack callBack, org.testng.ITestResult testResult)
run
in interface org.testng.IHookable
callBack
- testResult
- public void bmngBeforeClass(Class<?> testKlazz) throws Exception
testKlazz
- Exception
public void bmngAfterClass(Class<?> testKlazz) throws Exception
Exception
public void bmngBeforeTest(Method method) throws Exception
method
- the test method about to be runException
Copyright © 2021. All Rights Reserved.