Almost a month, and you have no answers.
You might want to use a testing tool that is not tied to an infrastructure in a way like Emma. This avoids incompatibility issues with the specified infrastructure.
Our Java Test Coverage tool uses your source code, making it independent of the compiler and runtime. You compile your code and execute / test it, however (system tests, unit tests, manual interaction), and it collects test coverage data in the Java array in the TestCoverage class as the tests run. At the end of execution (you determine that although leaving main is a common definition), test coverage data is written in some way to a file, ultimately displayed by the testing tool. Although the Java Test Coverage tool provides a default class implementation that writes an array to a file on disk using Java file primitives, you can easily override the implementation with any code you like and save the array anywhere where you can eventually restore another mechanism. which you need to convert to a file and then display.
This will work with your code usage guide.
source share