jeudi 3 septembre 2015

Android App crashing when running connectedTest from terminal during runtime: normal behavior?

I created a few connected(androidTest directory) tests for my Android app, and they work without a problem. The one thing is, when I run my app, and then from the terminal run app:connectedTest, the app itself crashes. Is this natural behavior for tests, that running a test from the terminal would cause an already running app to crash? I know for a fact that the tests work if I run them before running my app, and I'm just trying to find out whether the app is crashing because the test shouldn't be run while running the app, or because I'm doing something wrong.

Aucun commentaire:

Enregistrer un commentaire