Bug P4
Status Update
Comments
py...@gmail.com <py...@gmail.com> #2
Do you have a repro project that you could share with us?
There should be no need to excluding any dependencies: we automatically remove them from the test APK if they are in the main APK.
There should be no need to excluding any dependencies: we automatically remove them from the test APK if they are in the main APK.
ae...@google.com <ae...@google.com> #3
This bug has not been updated in the last year. Please reopen if we still need to look into this.
Description
Version used: 1.0.2
What steps will reproduce the problem?
When using Android Test Orchestrator with a run listener, calling `getInstrumentation().sendStatus(REPORT_VALUE_RESULT_FAILURE, bundle);` in the Run Listener will not cause the test to fail. This happens when running instrumentation tests from the command line or android studio when using the Android Test Orchestrator.
Here is a sample repro:
To reproduce, call `./gradlew connectedCheck`. The tests will succeed, but should have failed.
What is the expected output? What do you see instead?
I expect the tests to fail when calling `getInstrumentation().sendStatus(REPORT_VALUE_RESULT_FAILURE, bundle);`.
Instead I see tests pass.
This is a refile this closed bug since it is still an issue: