[android-developers] Re: Eclipse: running junit tests
recheck your test manifest do you have the right package listed in the
manifest?
On May 9, 2:51 pm, Patrick <patrick.manges...@gmail.com> wrote:
> Hallo!
>
> I implemented a junit3 test in an Android Test Project (which was
> created by the wizard) testing classes of my real project. Running the
> unittest I get the following error:
>
> [2010-05-09 21:30:05 - AndroidConsumerApplicationTest] Performing
> android.test.InstrumentationTestRunner JUnit launch
> [2010-05-09 21:30:05 - AndroidConsumerApplicationTest] Automatic
> Target Mode: using existing emulator 'emulator-5554' running
> compatible AVD 'AVD1.6'
> [2010-05-09 21:30:05 - AndroidConsumerApplicationTest] Uploading
> MyApplicationTest.apk onto device 'emulator-5554'
> [2010-05-09 21:30:06 - AndroidConsumerApplicationTest] Installing
> MyApplicationTest.apk...
> [2010-05-09 21:30:08 - AndroidConsumerApplicationTest] Success!
> [2010-05-09 21:30:08 - AndroidConsumerApplicationTest] Project
> dependency found, installing: MyApplication
> [2010-05-09 21:30:10 - AndroidConsumerApplication] Application already
> deployed. No need to reinstall.
> [2010-05-09 21:30:10 - AndroidConsumerApplicationTest] Launching
> instrumentation android.test.InstrumentationTestRunner on device
> emulator-5554
> [2010-05-09 21:30:14 - MyApplicationTest] Test run failed: Unable to
> find instrumentation target package: at.test.android.myapplication
>
> Do you have an idea, what could cause this problem?
>
> Thanks in advance
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscribe@googlegroups.com
> For more options, visit this group athttp://groups.google.com/group/android-developers?hl=en
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home