stephanenicolas / Quality-Tools-for-Android

1.27k stars 235 forks source link

UI Automator Stub Exception? #12

Open achuinard opened 10 years ago

achuinard commented 10 years ago

I think I'm doing something wrong but my ui-automator has this 'Stub' issue when running the test. I get:

Tests in error: initializationError(com.twansoftware.invoicemakerpro.uitests.SimpleTest): Stub!

But then it looks like it starts trying to test: [INFO] 047ba94d5c0aa8bb_LGE_Nexus4 : Running ui uiautomator tests ininvoicemakerpro-ui-tests-2.97.jar [INFO] 047ba94d5c0aa8bb_LGE_Nexus4 : Run started: ui uiautomator tests, 0 tests: [INFO] 047ba94d5c0aa8bb_LGE_Nexus4 : Run failed: Instrumentation run failed due to 'java.lang.RuntimeException' [INFO] 047ba94d5c0aa8bb_LGE_Nexus4 : Run ended: 0 ms [INFO] Tests run: 0, Failures: 0, Errors: 0 [INFO] 047ba94d5c0aa8bb_LGE_Nexus4 : Report file written to /home/achuinard/Code/InvoiceMakerPro/invoicemakerpro/ui-tests/target/surefire-reports/TEST-047ba94d5c0aa8bb_LGE_Nexus4.xml

But the RuntimeException is just the 'Stub!'.

Does this relate to the build.xml in the directory possibly?