nenick / AndroidStudioAndRobolectric

Minimal Robolectric and Android Studio example
139 stars 29 forks source link

jacoco for unit test coverage #3

Open nenick opened 9 years ago

nenick commented 9 years ago

This works not out of the box but workaround can be found at https://code.google.com/p/android/issues/detail?id=144664

vanniktech commented 9 years ago

I've also been able to finally get Unit Test Coverage reports using JaCoCo. Here is how I made it.

nenick commented 9 years ago

Nice work I will compare it with https://github.com/nenick/android-gradle-template/blob/master/App/build.gradle and take the best of both :)