No coverage for instrumentation tests
KamilKlecha95 opened this issue · 0 comments
Hello
I have an issue with generating reports for instrumentation coverage in multimodule app. In fact reports are generating but these reports contains 0% percentage of coverage (have over UI 500+ tests in app) .
I have an android project with structure like so :
`
- /rootDir/app
- /rootDir/modules/featureA
- /rootDir/modules/featureB
`
Module app is application module and contains Instrumentationtests for app, featureA and featureB.
Because app module is in fact main module, so only that module contains buildTypes, buildFlavours and property coverageEnabled = true.
When I execute task combinedTestReport<Flavor><BuildType>
prepared for instrumentation tests I got reports but as I mentioned there is 0% coverage.
I was also tring to apply buildType with property coverageEnabled to submodules (featureA/featureB) but it does not help.
What can be wrong ?