java -cp /CovTest/COverageTest/out/production/COverageTest:.:/CovTest/InstalledSoftware/idea-IU-141.1010.3/lib/* -javaagent:/home/madhawa/Desktop/jacoco-jar/jacocoagent.jar=destfile=/CovTest/COverageTest/MYTARGET/jacoco.exec,append=true,dumponexit=true,includes=MyTestClass_01 org.junit.runner.JUnitCore MyTestCase_01
Note: junit test case class : MyTestCase_01
java class : MyTestClass_01
refer original post for this:-
http://stackoverflow.com/questions/31350468/0-coverage-on-test-case-when-run-jacoco-agent-on-my-simple-test-class