samedi 25 novembre 2017

Android Studio runs wrong test -- unit test is executing from androidTest package

I have two tests, one unit test and one instrumentation test: [...]/src/androidTest/java/com/mydomain/api/ApiClientTest.java [...]/src/test/java/com/mydomain/api/ApiClientTest.java

Right-clicking on androidTest/.../ApiClientTest.java and selecting "Run ApiClientTest" is running the test class in test/ instead of the one in androidTest/

Aucun commentaire:

Enregistrer un commentaire