Stopping Robotium test execution Stopping Robotium test execution jenkins jenkins

Stopping Robotium test execution


You can cancel the previous Robotium test by starting another test one with a made-up test name:

adb shell am instrument -e class com.foo.tests#dummyTestName com.foo.tests/android.test.InstrumentationTestRunner


What about this:

adb shell am force-stop <PACKAGE>


You can clear the app data,like this

adb shell pm clear com.foo.tests