Jacoco and Unit Tests Code Coverage with android-gradle-plugin >= 1.1

后端 未结 9 865

I recently started integrating android-gradle-plugin 1.1.0 in one of my projects. The project uses robolectric 2.4 to run unit tests.

It\'s

9条回答
  •  感动是毒
    2020-12-12 21:32

    I resolve issues with JaCoCo and make it work with latest gradle android plugin 1.1.3

    Project with latest gradle scripts: https://github.com/OleksandrKucherenko/meter

    References:

    How to attach own implementation instead of Mocks in Android Studio Unit Tests? https://plus.google.com/117981280628062796190/posts/8jWV22mnqUB

    Small hint for everyone who try to use JaCoCo coverage in android builds... unexpected finding!!! https://plus.google.com/117981280628062796190/posts/RreU44qmeuP

    JaCoCo XML/HTML Report for Unit Tests https://plus.google.com/u/0/+OleksandrKucherenko/posts/6vNWkkLed3b

提交回复
热议问题