dimanche 7 février 2016

Running unit tests before each build in gradle

How can I configure a build.gradle in an Android project to run all my unit tests before each debug or release build? I know that I can set tasks dependencies with dependsOn, but how can I specify it for the unit test task? I'd like to do this for each module of my project, is it possible?

Aucun commentaire:

Enregistrer un commentaire