I'm trying to execute a Test Suite but I need for my study to have the app in a cleared state before each test. Using Gradle's connectedCheck the app just resumes before each test, I've used Orchestrator to set the clear argument to true in order to have the data erased after a test but if I do execute all tests in a package at the same time it shows that the app isn't really being cleared up between executions.
Do you have any suggestions as to why I can accomplish this on either android studio or command line?
I've also tried to solve the issue by - implementing a ClearData annotation (doesn't work) - implementing a clearData task which is only executed after the first test class and won't run again for others
Aucun commentaire:
Enregistrer un commentaire