Hi Sriram,

you need to create an report with the tools provided with JaCoCo. For report generation you need

1) exec files
2) Same class files (or JARs) used at runtime
3) Optionally source files (for hilighting)

JaCoCo comes with a report Maven goal or Ant task. Alternatively you could use the Java API or any other build tool with JaCoCo integration:

 * http://www.jacoco.org/jacoco/trunk/doc/report-mojo.html
 * http://www.jacoco.org/jacoco/trunk/doc/ant.html#report
 * http://www.jacoco.org/jacoco/trunk/doc/examples/java/ReportGenerator.java

Regards,
-marc

On 27.10.16 12:06, [email protected] wrote:
Hi,

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



--
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/b951d7b2-ca99-134f-b5c3-ba4151e6fe36%40mountainminds.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to