jeudi 31 mars 2016

Launch junit/robolectric tests (gradle)

I have my unit/Robolectic tests located in

/app/src/test/java

This is made to distinguish android instrumentation tests located in /app/src/androidTest/java

How can I only run these unit tests which don't need whole project to be built (which is time consuming) from command line?

Is there any gradlew/java command?

I want to obtain the same result as if running from Android Studio junit tests from specific dir.

Aucun commentaire:

Enregistrer un commentaire