I'm not familiar with JUnitReports, but one way you could do this is
to parse the results outputted by 'adb shell am instrument -r -w ...",
and convert it into whatever XML format you needed.

There is existing parsing code in the Android open source project at
development/testrunner and
development/tools/ddms/libs/ddmlib/src/com/android/ddmlib/testrunner
you could use as a library.

Brett.

On Thu, Aug 20, 2009 at 3:40 AM, Binesy<[email protected]> wrote:
>
> Hi
>
> I am trying to get my unit test output in XML format so I can plug it
> into a Hudson build server.  From my research I should be using
> JUnitReports, but how can I get these via the
> android.test.InstrumentationTestRunner?
>
> Many Thanks
>
> Binesy
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to