hi, i have created a customerorder application(not a web application) and
packaged it in main.jar.
I want to use the jacoco CLI introduced in 0.8 version..
Step 1. I created the instrumented classes by executing
java -jar jacococli.jar instrument <dir where all my application are> --dest
C:\jacoco\target
here, C:\jacoco\target is the directory where the instrumented classes will
placed.
Step2: I ran my junit test class as standalone application::
java -cp ${CLASSPATH} org.junit.runner.JUnitCore
com.samples.customerinfo.CustomerOrderInfoTest
Junit sucessfull done!!
Step3:: Missing link.. How my executed junit will create the jacoco.exec files,
i want to use the CLI options of jacoco library..
do i need to pass the jacocoagent.jar in the JVM , i am using powershell only.
Pl. suggest..
--
You received this message because you are subscribed to the Google Groups
"JaCoCo and EclEmma Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jacoco/cfdc2032-bb6d-4d07-9e61-726630144940%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.