Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

continue jacoco code coverage report after fail test case

Code coverage report not generated when Test case failed in android studio using Jacoco plugin.How to skip failed test case and generate code coverage report.

like image 791
Hardik Bambhania Avatar asked Dec 10 '25 06:12

Hardik Bambhania


1 Answers

Try adding this flag when running your test

-Djacoco.haltOnFailure=false

like image 103
osrs10 Avatar answered Dec 11 '25 19:12

osrs10



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!