I get all unit tests in my program using ClasspathSuite. And then I can run them based on the tutorial example on Jacoco website. So far so good, but the coverage results are based on Unit test classes not classes that are actually testing through unit tests.
I know I should instrument all classes in program using Java Agent, but can someone please help me how to do that?
I followed instruction posted in there:
http://sourceforge.net/p/eclemma/discussion/614870/thread/568088d4/