Using Android studio, you can create a test configuration that first removes your application before running the test.
Create a new external tool.
- "" → " ".
- "+", .
- " myApp" ( )
- " " ( )
- "adb"
- "".
, , "" → " " → " myApp" .
2. .
- " ".
- Android Tests, .
- " :..." "+".
- " ".
- " myApp" .
- , Gradle -aware Make.
- "".
, , , .