Testing with Byteman 2.0
The JBoss Community has released version 2.0 of Byteman, its open source tracing and test tool for Java applications. The Byteman software allows developers to inject code (bytecode injection) into their applications when testing to, for example, collect various metrics. Byteman itself provides a range of test functions, but developers can also inject their own code into their Java applications.
Byteman 2.0 offers two new features: the compiled Byteman rules now contain file and line number information, and TestNG classes can now import Byteman rules using an @Listener
annotation (previously, these rules were inherited). The documentation has been extended to include a new Fault Injection Testing With Byteman tutorial.
The update also fixes eight bugs found in the previous 1.6.0 release. Further information about the update can be found in the release notes. Byteman 2.0 is available to download from the JBoss Community web site and is licensed under the LGPL V2.1.
(crve)