We are planning to generate Code Coverage reports for our manual testing for the web application hosted on Weblogic.
The intention is that, we want to run some tests on the application and see the code coverage and depending on that, we want to improve our tests.
I have added jacocoagent.jar in setDomainEnv.sh. Then I started the weblogic managed server and the application was up. I logged in into the application and performed some operations and shutdown the AppServer. Now I have a jacoco.exec file.
How do i check the contents of this file? How can this be represented in a xml or html format? We dont have access to the actual source code as we are testers and we dont have automated tests also in this context.
Ccan some one please help me with addressing this issue?
Thanks in advance!
Regards,
Sriram
Hi Marc,
As you mentioned, I have used Jacoco.exec and the class files of our product. Coverage Report is successfully generated. But for this, I needed to extract the jars and unzip them and point to that folder. But, in our installation, we only have jar files and class files are not visible, unless we explicitly unzip them.
I tried to include jars but, I always get an error "Error while creating report"
Is there a way that I can generated Code coverage reports for jars but not classes? Iam adding my target code for your convenience.
***********************************************
<target name="report">
<mkdir dir="${jacoco.report.dir}"/>
<jacoco:report>
<executiondata>
<file file="${jacocoexec.fullpath}"/>
</executiondata>
<structure name="Code coverage Report">
<classfiles>
<fileset dir="${classes.dir}" />
</classfiles>
<sourcefiles encoding="UTF-8">
<fileset file="${src.dir}/*.jar"/>
</sourcefiles>
</structure>
<html destdir="${jacoco.report.dir}"/>
<csv destfile="${jacoco.report.dir}/report.csv"/>
<xml destfile="${jacoco.report.dir}/report.xml"/>
</jacoco:report>
</target>
*************************************************
Thanks already,
Always B happy,
Sriram
--
You received this message because you are subscribed to a topic in the Google Groups "JaCoCo and EclEmma Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jacoco/Dsm1n7HwLFo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jacoco+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/f71c275a-d99b-90cb-0892-76af21822e6c%40mountainminds.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit
https://groups.google.com/d/msgid/jacoco/f71c275a-d99b-90cb-0892-76af21822e6c%40mountainminds.com
[2].
For more options, visit https://groups.google.com/d/optout [3].
--
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 jacoco+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/jacoco/CADCxQoPAe%3DbsgJg2Mz3PaNH9ZjAHJC10di%3DVP5G2%3DBM-zZWNpQ%40mail.gmail.com
[4].
For more options, visit https://groups.google.com/d/optout.
Links:
------
[1] https://groups.google.com/d/topic/jacoco/Dsm1n7HwLFo/unsubscribe
[2]
https://groups.google.com/d/msgid/jacoco/f71c275a-d99b-90cb-0892-76af21822e6c%40mountainminds.com
[3] https://groups.google.com/d/optout
[4]
https://groups.google.com/d/msgid/jacoco/CADCxQoPAe%3DbsgJg2Mz3PaNH9ZjAHJC10di%3DVP5G2%3DBM-zZWNpQ%40mail.gmail.com?utm_medium=email&utm_source=footer
--
You received this message because you are subscribed to a topic in the Google Groups "JaCoCo and EclEmma Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jacoco/Dsm1n7HwLFo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jacoco+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/ba9ae1c396279d9833d5380179eeaaa4%40mountainminds.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/jacoco/f71c275a-d99b-90cb-0892-76af21822e6c%40mountainminds.com
[3]
[2].
For more options, visit https://groups.google.com/d/optout [2] [3].
--
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 jacoco+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/jacoco/CADCxQoPAe%3DbsgJg2Mz3PaNH9ZjAHJC10di%3DVP5G2%3DBM-zZWNpQ%40mail.gmail.com
[4]
[4].
For more options, visit https://groups.google.com/d/optout [2].
Links:
------
[1] https://groups.google.com/d/topic/jacoco/Dsm1n7HwLFo/unsubscribe
[1]
[2]
https://groups.google.com/d/msgid/jacoco/f71c275a-d99b-90cb-0892-76af21822e6c%40mountainminds.com
[3]
[3] https://groups.google.com/d/optout [2]
[4]
https://groups.google.com/d/msgid/jacoco/CADCxQoPAe%3DbsgJg2Mz3PaNH9ZjAHJC10di%3DVP5G2%3DBM-zZWNpQ%40mail.gmail.com?utm_medium=email&utm_source=footer
[5]
--
You received this message because you are subscribed to a topic in the
Google Groups "JaCoCo and EclEmma Users" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/jacoco/Dsm1n7HwLFo/unsubscribe [1].
To unsubscribe from this group and all its topics, send an email to
To view this discussion on the web visit
https://groups.google.com/d/msgid/jacoco/ba9ae1c396279d9833d5380179eeaaa4%40mountainminds.com
[6].
For more options, visit https://groups.google.com/d/optout [2].
--
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 jacoco+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/jacoco/CADCxQoP2FzhZEcjCyaFSBvyD63hCpwFuc5mcWst2mYGt%2B%3Dhe9A%40mail.gmail.com
[7].
For more options, visit https://groups.google.com/d/optout.
Links:
------
[1] https://groups.google.com/d/topic/jacoco/Dsm1n7HwLFo/unsubscribe
[2] https://groups.google.com/d/optout
[3]
https://groups.google.com/d/msgid/jacoco/f71c275a-d99b-90cb-0892-76af21822e6c%40mountainminds.com
[4]
https://groups.google.com/d/msgid/jacoco/CADCxQoPAe%3DbsgJg2Mz3PaNH9ZjAHJC10di%3DVP5G2%3DBM-zZWNpQ%40mail.gmail.com
[5]
https://groups.google.com/d/msgid/jacoco/CADCxQoPAe%3DbsgJg2Mz3PaNH9ZjAHJC10di%3DVP5G2%3DBM-zZWNpQ%40mail.gmail.com?utm_medium=email&utm_source=footer
[6]
https://groups.google.com/d/msgid/jacoco/ba9ae1c396279d9833d5380179eeaaa4%40mountainminds.com
[7]
https://groups.google.com/d/msgid/jacoco/CADCxQoP2FzhZEcjCyaFSBvyD63hCpwFuc5mcWst2mYGt%2B%3Dhe9A%40mail.gmail.com?utm_medium=email&utm_source=footer
--
You received this message because you are subscribed to a topic in the Google Groups "JaCoCo and EclEmma Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jacoco/Dsm1n7HwLFo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jacoco+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/f9c1f793dc9941f9bcdb9d37824548d8%40mountainminds.com.