Sure, JaCoCo can be used for any code running on the JVM. Just attach the agent 
to the program under test.

Please see tasks “coverage” or “agent” in our documentation: 
https://www.jacoco.org/jacoco/trunk/doc/ant.html 
<https://www.jacoco.org/jacoco/trunk/doc/ant.html>

Regards,
-marc


> On 4. Feb 2020, at 20:54, Musab <[email protected]> wrote:
> 
> Hi, 
> Thanks for developing such an impressive framework!
> 
> We use our own testing framework which relies on executing our own Ant Tasks 
> to invoke APIs. An API requires specific XML input which is passed though the 
> task's attribute, and spits out XML output. As you would imagine, it is 
> normal for an API call to span over multiple classes and methods.
> 
> Can we use JaCoCo with our testing framework?
> Can you point me to resources that can help me.
> 
> Thanks,
> 
> 
> -- 
> 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/3080b975-e52c-44c3-ac9d-1dd628b922c1%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/jacoco/3080b975-e52c-44c3-ac9d-1dd628b922c1%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
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/08853724-435D-4657-A663-50FBE2BDABF5%40mountainminds.com.

Reply via email to