This post may help you find if the instrumentation is present in your emulator/device: http://dtmilano.blogspot.com/2011/04/running-instrumentation-from.html
On May 16, 7:54 am, rashmi <[email protected]> wrote: > Hi, > I am trying to execute junit test cases on froyo 2.2 source code, from > command line with the following command. > adb -d shell am instrument -w com.android.camera.tests/ > com.android.camera.CameraStressTestRunner > > And it is giving the error - > > INSTRUMENTATION_STATUS: id=ActivityManagerService > INSTRUMENTATION_STATUS: Error=Unable to find instrumentation info for: > ComponentInfo{com.android.camera.tests/ > com.android.camera.CameraStressTestRunner} > INSTRUMENTATION_STATUS_CODE: -1 > android.util.AndroidException: INSTRUMENTATION_FAILED: > com.android.camera.tests/com.android.camera.CameraStressTestRunner > > Please let me how to resolve this error. > > I tried to check installed tests with the command > adb shell pm list instrumentation > which results empty list. > > So please tell me how to set up the test environment before running > test case from command line. > > Thank you, -- Have you read my blog ? http://dtmilano.blogspot.com android junit tests ui linux cult thin clients -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

