On Wednesday, 28 October 2015 13:51:11 UTC+5:30, Marc R. Hoffmann wrote: > If you use the official distriinution this is not the agent JAR file. It > would be > > /home/ramanuj/jacoco-0.7.4.201502262128/lib/jacocoagent.jar > > See dosumentation: http://eclemma.org/jacoco/trunk/doc/agent.html > > Regards, > -marc > > > > On 2015-10-27 11:57, [email protected] wrote: > > I have attached agent by adding JAVA_OPTS entry in .bashrc > > > > JAVA_OPTS="$JAVA_OPTS > > -javaagent:/home/ramanuj/jacoco-0.7.4.201502262128/lib/org.jacoco.agent-0.7.4.201502262128.jar=destfile=/home/ramanuj/jococo_report/jacoco.exec" > > export JAVA_OPTS > > > > when test execution ends it doesnot create files.
Hello Marc, Thanks, Thanks lot for your reply. We are using LISA test tool for writing function tests and executes them using GUI or command line, not through ANT or Maven. I want while executing tests JaCoCo agent should capture coverage as I have attached it to JVM. I have seen lot documentation but examples available is not useful to me. I have attached agent with JAVA_OPTS="$JAVA_OPTS -javaagent:/home/ramanuj/Downloads/jacoco0.7.4/lib/jacocoagent.jar=destfile=/home/ramanuj/Downloads/jacoco_report/jacoco.exec" export JAVA_OPTS but still jacoco.exec file is not generated. I am not getting where is the problem am I on correct path? please guide me. -- 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/68209992-ca08-439d-bc47-b4dc7805d8e0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
