Sometimes I will zip up both the Android project and the (Robotium) test project, upload them to google docs, and then download that onto a laptop for a little poking around.
If you don't rebuild/clean the project being tested, then the test project may not work and you get something like this error:
[2011-11-14 21:51:02 - YourTestProject] Test run failed: Permission Denial: starting instrumentation ComponentInfo{your.test.package/android.test.InstrumentationTestRunner} from pid=NNN, uid=NNN not allowed because package your.test.package does not have a signature matching the target your.package.being.tested
This is caused because the apk you uploaded was built on a different machine. doh.
No comments:
Post a Comment