I recently started integration android-gradle-plugin 1.1.0 (currently -rc3) in one of my projects. The project uses robolectric 2.4 to run unit tests.
I tried to integrate JaCoCo to generate reports for the unit tests, but it seams to me that it runs only androidTests which are basically instrumentation tests.
After some google'ing I've came across a few projects on GitHub and other articles, but they mainly are focused on previous versions of the android-gradle-plugin or are using other third party plugins like android-unit-test for example here.
May be I've lost my ability to google. But can somebody point me in a direction where I can find some documentations regarding the new stuff in android gradle plugin and how to run the jacoco task only for unit tests?
Aucun commentaire:
Enregistrer un commentaire