I'm not sure exactly what you mean by "using a JUnit library". If the JUnit
tests reference android.jar objects, you will need to run them on an Android
device or emulator.

But a more basic question I have is why does your Android library need to
use JUnit? Will you be packaging the tests for the library inside the
library itself? One approach is to separate the tests for the library from
the library itself. You could define an Android test application with a
manifest, etc, that references the library and contains all the tests for
the library.


On Wed, May 27, 2009 at 2:42 PM, Peter <[email protected]> wrote:

>
> I am creating an Android library that does stuff like http requests,
> etc, that uses android.jar objects. There will be no manifest or
> resources, etc, however. What is the best practice regarding the JUnit
> library to use in this library? DO I use standard JUnit, or the one
> included in android.jar?
> >
>

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