Apparently an instrumentation test run is stopped when on exception occurs in the instrumented application:
Test failed to run to completion. Reason: 'Instrumentation run failed due to 'Exception''. Check device logcat for details
Is this the desired behavior or a misconfiguration in a custom instrumentation runner?
I'm using a custom MonitorinInstrumentation
[1] in order to automate acceptance tests.
Unfortunately test execution is canceled when on exception occurs in one test. I want the test suite to complete and only mark the failed tests, like in JUnit.
Is there a general approach to execute (connected) tests without quitting the whole instrumentation in case an exception occurs in one test?