adding multiple classes to coverage

27 views
Skip to first unread message

Ashley Simon

unread,
Oct 6, 2016, 5:50:33 AM10/6/16
to JaCoCo and EclEmma Users
Hi,
We are working on code -coverage using jacoco-ant.Its been a long time and we are not able to move forward.
We are referring to the example given in http://www.eclemma.org/jacoco/trunk/doc/ant.html. But the thing is ,in the task coverage part...
they have specified a single class by <java classname =...> ,But we have multiple classes for coverage and we can't give a single class.
We have tried module attribute inside <java> ,it is not working and we don't have jar files ,so we can't use the jar attribute.
Is there any solution for this, where we can specify the folder containing the class files ? 

Thanks and Regards,
Ashley

Marc R. Hoffmann

unread,
Oct 6, 2016, 7:21:15 AM10/6/16
to jac...@googlegroups.com
Hi Ashley,

if I remember correctly we discussed about this before. I recommended to make your build/test setup running without code coverage first. Once you understand how Ant tasks java and junit work it is easy to integrate JaCoCo.

Do you have a running test setup based on Ant without JaCoCo?

Regards,
-marc
--
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+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/f938d1c5-46f5-4e0f-aae8-266c3ffae569%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ashley Simon

unread,
Oct 10, 2016, 6:13:26 AM10/10/16
to JaCoCo and EclEmma Users
yes we have

Thanks and Regards,
-Ashley 
Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages