Jacoco code coverage exclude files

129 views
Skip to first unread message

mrudhula...@gmail.com

unread,
Aug 28, 2019, 7:46:13 AM8/28/19
to JaCoCo and EclEmma Users
Hello,

   Have a doubt in excluding some of the files like DTO, Config files to get coverage of 100% in java jacoco in eclipse but am unable to do it can anyone help me out with this how can i exclude either by code or any other way to do

Marc Hoffmann

unread,
Aug 28, 2019, 8:00:07 AM8/28/19
to JaCoCo and EclEmma Users
Hi,

in Eclipse (EclEmma plug-in) there is no option to exclude specific files of a project.

You might consider moving the files in separate projects or doing coverage analysis during Maven build.

Regards,
-marc



On 28. Aug 2019, at 13:46, mrudhula...@gmail.com wrote:

Hello,

   Have a doubt in excluding some of the files like DTO, Config files to get coverage of 100% in java jacoco in eclipse but am unable to do it can anyone help me out with this how can i exclude either by code or any other way to do

--
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/4bea4a3c-d4ff-4261-93be-31f191665e20%40googlegroups.com.

Mrudhula Jakkaraju

unread,
Aug 28, 2019, 8:21:40 AM8/28/19
to jac...@googlegroups.com
Then how can i do that there is no other way ?to make coverage for those files

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/0yddbrbDcc4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jacoco+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/283213A1-0E3C-475A-9721-113AC54C30EA%40mountainminds.com.


--
Thanks & Regards


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