Hi,
JaCoCo supports reports in XML format. You can create XML reports both
with Ant and Maven.
Please see documentation for the XML schema and report creation:
http://www.eclemma.org/jacoco/trunk/doc/
Regards,
-marc
On 28.02.15 20:56, Kiran Tonse wrote:
Hello Everyone,
I want to get the jacoco code coverage report in an xml format.
Ex:
My app:
package pac1
Class Class1{
public void method1(){}
}
My test:
@Test
public void test1(){
Class1 class1=new Class1();
class1.method1();
}
I want to get the coverage report like this:
<package=pac1>
<class=class1>
<method=mehtod1>
</package>
Please let me know if there is a way of getting this.
My setup:
The app code is deployed on one box and it is instrumented. The test
suite runs on a CI job.
Thanks
Kiran
--
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]
<mailto:[email protected]>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/jacoco/CAPnnJhpvV_%2Bx60PsvHJAT3qAbVUgWt_%2BSwX3-4Sy1_FvAmtk6A%40mail.gmail.com
<https://groups.google.com/d/msgid/jacoco/CAPnnJhpvV_%2Bx60PsvHJAT3qAbVUgWt_%2BSwX3-4Sy1_FvAmtk6A%40mail.gmail.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
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/54F3705E.3090707%40mountainminds.com.
For more options, visit https://groups.google.com/d/optout.