lundi 11 avril 2016

Running Android Tests with code coverage through Gradle command

Without using JaCoCo, is there a way to run code coverage on my tests through Gradle commands? There does not appear to be a Gradle task which runs tests with coverage on. The only option I see is a button on the Android Studio UI which will run my tests with code coverage.

Ideally I'd like to automate my tests with code coverage from command line and access the report it generates.

By the way, I do not have anything against JaCoCo. I just want to know if there is a way to do this without using the library.

Aucun commentaire:

Enregistrer un commentaire