Coverage Report for build types other than debug not working
dsuresh-ap opened this issue · 1 comments
dsuresh-ap commented
Also asked the question on SO here.
I don't think this is a plugin issue but maybe someone else has the answer to this. We have 3 build types, debug, qa and release. When running the combined report task or even just the debug coverage report task for any of the qa
build types. It does not run the instrumented tests. The task just completed and coverage for only unit tests shows up.
Any answers would be appreciated!
dsuresh-ap commented
Found this in the BuildType.kt
class of gradle:
override var isDebuggable: Boolean = false
get() = // Accessing coverage data requires a debuggable package.
field || isTestCoverageEnabled