public class BMNGRunner extends BMNGAbstractRunner
Constructor and Description |
---|
BMNGRunner() |
Modifier and Type | Method and Description |
---|---|
void |
bmngAfterClass()
method inherited by a subclass and recognized by TestNG which ensures that
Byteman rules specified using @BMRule or @BMScript annotations attached to
the subclass are unloaded automatically after executing all of its test methods.
|
void |
bmngAfterTest(java.lang.reflect.Method method)
method inherited by a subclass and recognized by TestNG which ensures that
Byteman rules specified using @BMRule or @BMScript annotations attached to
a test method are unloaded automatically before executing the method.
|
void |
bmngBeforeClass()
method inherited by a subclass and recognized by TestNG which ensures that
Byteman rules specified using @BMRule or @BMScript annotations attached to
the subclass are loaded automatically before executing any of its test methods.
|
void |
bmngBeforeTest(java.lang.reflect.Method method)
method inherited by a subclass and recognized by TestNG which ensures that
Byteman rules specified using @BMRule or @BMScript annotations attached to
a test method are unloaded automatically before executing the method.
|
bmngAfterClass, bmngBeforeClass, run, switchClass
public void bmngBeforeClass() throws java.lang.Exception
java.lang.Exception
- if the test cannot be runpublic void bmngAfterClass() throws java.lang.Exception
java.lang.Exception
- if cleanup failspublic void bmngBeforeTest(java.lang.reflect.Method method) throws java.lang.Exception
bmngBeforeTest
in class BMNGAbstractRunner
method
- the test method about to be runjava.lang.Exception
- if the test cannto be runpublic void bmngAfterTest(java.lang.reflect.Method method) throws java.lang.Exception
bmngAfterTest
in class BMNGAbstractRunner
method
- the test method about to be runjava.lang.Exception
- if cleanup failsCopyright © 2015. All Rights Reserved.