Package org.jboss.byteman.contrib.bmunit
-
Class Summary Class Description BMNGAbstractRunner An abstract class which provides the ability to load Byteman rules into TestNG style tests.BMNGListener Class which provides the ability to load Byteman rules into TestNG style tests.BMNGRunner A TestNG runner class which can be subclassed by a test class in order to inherit the ability to process @BMRule and @BMScript annotations.BMRunnerUtil Class bundling sone utility ethods used by both JUnit and TestNG runner classesBMTestCase A subclass of the JUnit test case class which looks for a byteman rule file with the same name as the test case and loads it during setup then removes it during teardownBMUnit Byteman Unit test manager class which provides support for loading and unloading scripts.BMUnitConfigState class used to model a specific BMUnit configurationBMUnitRunner Specialisation of the BlockJUnit4ClassRunner Runner class which can be attached to a text class using the @RunWith annotation. -
Annotation Types Summary Annotation Type Description BMRule Annotation to attach a Byteman rule to a class or methodBMRules Annotation to attach multiple Byteman rules to a class or methodBMScript Annotation attached to a test class or a test method identifying a Byteman rule file to be loaded before running tests and unloaded after running tests.BMScripts Annotation attached to a test class or a test method identifying one or more Byteman rule files to be loaded before running tests and unloaded after running tests.BMUnitConfig annotation to allow configuration of BMUnit operation directly from test classes rather than via use of system variables a BMUnitConfig annotation may be attached to a test method (or test class) to specify the BMUnit and Byteman configuration which should be employed when the associated test(s) is (are) run.