I am executing a some gradle tasks from a shell script, and am finding that i am unable to kill the process:
I click stop process like shown in the image, but it doesnt stop the Espresso UI tests from executing on the emulator. the shell script is as simple as "./gradlew spoonDebugAndroidTest"
Is there someway i can stop the tests without closing the emulator, and get rid of the red box saying i have process running?
You can try to execute this in Android Studio's Terminal : ./gradlew --stop . It should stop all running tasks.
View test coverage To run tests with coverage, follow the same steps as described in Run tests, only instead of clicking Run , click Run test-name with coverage . In the Project window, this option might be hidden behind More Run/Debug.
That can be fixed by following these steps:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With