Any chance for your help?
On Jul 22, 8:16 pm, stanberka <
stan.be...@gmail.com> wrote:
> Thanks, Phil. The recommended way to doandroidunit tests, is to
> create a parallel project as described here:
>
http://dtmilano.blogspot.com/2009/07/android-testing-on-android-platf...
> I did this; the tests project is called DroidWikiTests. When I run it
> asAndroidjUnit Tests, it fails with a message:
>
> 07-22 20:09:31.655: ERROR/AndroidRuntime(1278): Caused by:
> java.lang.RuntimeException: java.lang.IllegalStateException: Can't
> find AndroidManifest.xml to read the intrumented package. Please run
> this from your project directory, or specify thepositron.instrumentedPackage system property or pass it as a
> parameter.
> 07-22 20:09:31.655: ERROR/AndroidRuntime(1278): at
> com.googlecode.autoandroid.positron.Start.run(Start.java:89)
> 07-22 20:09:31.655: ERROR/AndroidRuntime(1278): at
> com.googlecode.autoandroid.positron.Start.run(Start.java:47)
> 07-22 20:09:31.655: ERROR/AndroidRuntime(1278): at
> com.googlecode.autoandroid.positron.junit3.TestCase.<clinit>
> (TestCase.java:12)
>
> The DroidWikiTests minfest:
> <?xml version="1.0" encoding="utf-8"?>
> <manifest xmlns:android="
http://schemas.android.com/apk/res/android"
> package="org.sjb.droidwiki.tests"
> android:versionCode="1"
> android:versionName="1.0">
> <applicationandroid:icon="@drawable/icon"android:label="@string/
> app_name">
>
> <uses-libraryandroid:name="android.test.runner"></uses-library>
> </application>
> <uses-sdkandroid:minSdkVersion="3" />
> <instrumentationandroid:targetPackage="org.sjb.droidwiki"android:name="android.test.InstrumentationTestRunner"></
> instrumentation>
> </manifest>
>
> The tested application is in project DroidWiki, in org.sjb.droidwiki
> package. That's it. Note, that the DroidWikiTests doesn't mention nor
> referencePositron.
>
> Stan Berka
>
> On Jul 22, 10:03 am, Phil Smith <
phil.h.sm...@gmail.com> wrote:
>
> > Can you be more specific about the conflict? Perhaps include the
> > relevant snippets of build script & any stack traces produced?
>
> > On Wed, Jul 22, 2009 at 7:31 AM, stanberka<
stan.be...@gmail.com> wrote:
>
> > > Is there a way to havePositronstories in a parallel project, rather
> > > than the same one where the app is? I tried it and failed. If it is
> > > possible, could you describe what should be done differently etc?
>
> > > WithAndroid1.5, I decided I'd like to be able to run someAndroid
> > > jUnit tests on the same project, for which I have alsoPositron
> > > stories. The trouble is, they seem to have a bit of a conflict, well,
> > > may be it's just that I don't know how to configure both so they don't
> > > interfere. That's why I need to movepositronstories to a parallel
> > > project.
>
> > > On May 28, 1:30 pm, philhsmith <
phil.h.sm...@gmail.com> wrote:
> > >> Hello, Autoandroiders
>
> > >> With the declaration of the 2ndandroidcompetition, I thought I
> > >> should mention that I am immediately available for hire, seeking full
> > >> time work in the seattle area. I would love to be able to spent my
> > >> day buildingandroidapplications and tools, and this would be the
> > >> surest way to ensure autoandroid'scontinued growth. If this sounds