vendredi 25 janvier 2019

Android: How to stop instrumentation test after first failure

We have a suite of Android instrumentation tests which we run from CL via ./gradlew app:connectedDebugAndroidTest If there is a failing test we basically have to wait for all of them to complete before the HTML report is generated. What we would like is for the testing to stop on the first failing test. Is there a gradle flag we can apply to make this happen? I haven't found anything in the official docs.

Aucun commentaire:

Enregistrer un commentaire