[GRADLE-3105] JacocoTestReport not working in 2.0-rc-1 Created: 17/Jun/14  Updated: 17/Jun/14  Resolved: 17/Jun/14

Status: Resolved
Project: Gradle
Affects Version/s: None
Fix Version/s: 2.0-rc-2

Type: Bug
Reporter: Gradle Forums Assignee: Unassigned
Resolution: Fixed Votes: 0


I have switched to gradle 2.0-rc-1 and my jacocoTestReport stopped working. Report is generated, but no session data is present and thus coverage is 0 for all classes. Exactly the same build.gradle works for gradle 1.12.

Comment by Gradle Forums [ 17/Jun/14 ]

Can you provide more details (ideally a self-contained reproducible example)?

Comment by Gradle Forums [ 17/Jun/14 ]

I have the same problem;
easily reproducible with the files in [1]https://gist.github.com/anonymous/719... run with './gradlew clean test jacocoTestReport' against 1.10-bin or 1.12-bin (both show full coverage) versus 2.0-rc-1-bin (no coverage).
I can also send you a whole ziped project if that helps.
[1] https://gist.github.com/anonymous/719a681b38bab8d8360b

Generated at Wed Jun 30 12:40:06 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.