Calculating coverage for groovy files that are classeloaded at runtime

16 views
Skip to first unread message

mail.haris...@gmail.com

unread,
Mar 19, 2019, 5:53:46 AM3/19/19
to JaCoCo and EclEmma Users
I have a gradle Java project that uses Jacoco for reporting code-coverage and has the following directory structure:

- src/
|
|
- scripts
|
|
- test/
The scripts directory has .groovy files that are class loaded at runtime and executed during test execution.

While the coverage for all the source files in the src folder are reported correctly, the coverage of files that are classloaded at runtime are not reported.

How can the code coverage of the files class loaded at runtime be reported using Jacoco?

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