-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Instrumented test coverage fails with coroutines 1.10.0+ #4340
Comments
Looks like your code coverage tool attempts to also check how well your tests cover the code in |
Thanks I will take a look at it tomorrow. But the weird thing is that only thing I did is to enable the coverage and I believe it uses embedded Jacoco from AGP or something like that. Also coverage for unit tests works fine. It also starts working if I downgrade coroutines library which I have no idea why. 🤔 But thanks anyway. |
Hmm so now the same happens with Paparazzi tests:
|
If that's the issue, it will be fixed in the next release by #4314 |
Issue: Cannot run instrumented tests when
enableAndroidTestCoverage
is set to true while using coroutines 1.10.0+. I tried 1.9.0 and it works fine.So for now I just want to check coverage while writing tests but we might need to have coverage report combined for unit tests and instrumented tests. I will try to provide some example project during the weekend (I hope), but if anyone has an idea why this happens in the meantime I would appreciate help with this. Thanks.
The text was updated successfully, but these errors were encountered: