jacoco with gradle not working properly

36 views
Skip to first unread message

rg.ris...@gmail.com

unread,
Mar 10, 2017, 1:48:38 PM3/10/17
to JaCoCo and EclEmma Users
Hi there,

We are using jacoco plugin in build gradle and we are using this too :
configurations.all {
resolutionStrategy {
force 'org.jacoco:org.jacoco.report:0.7.4.201502262128'
force 'org.jacoco:org.jacoco.core:0.7.4.201502262128'
}
}
}

We are using gradle 3.3.1 version.
The problem is it is not creating proper jacoco code coverage report. The size of the file created after running unit tests is only 49KB and when we use sonar to analyze and report it to sonar server it only shows 0.2% unit test coverage. We are sure it should be a lot more than that.

We are using robolectric version 3.2.2 for unit tests.

Do you see any version mismatch? Any idea about the problem?

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