On Aug 19, 9:57 am, "The.French.DJ" <[email protected]> wrote:
> It depends on what parts you want to test. If you need the android
> test framework classes for testing activities and services in a valid
> android context then i am not sure if you can make junit 4 work with
> it.
>
> However, if you extract your app logic into android independant
> classes then you can test them by having junit 4 in the classpath
> before the android jar.


Thank you for the info.  However, what I don't understand is, will the
JUnit 4 tests be run INSIDE the Android emulator, or outside the
emulator on my Mac in a separate Java VM?  Ideally I want the JUnit 4
tests to be run INSIDE the Android emulator so that I know my code
will be 'ok' when run on an Android device.

- Eric

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