I've set up Android test projects for my POJOs (or any code that
doesn't depend on Android) and run them within Eclipse with no trouble
(if that's what you're asking). You have to be tricky about the run
configuration you use the launch the tests, though.
--
You received this message because you
Thanks for the reply. Test cases derived from Android
junit.framework.TestCase still need the emulator to run. But I should
have known better. Dalvik is not a JVM so of course it would be
impossible to test Android code with tools written for JVM because
Java class engineering would not apply to
The JUnit TestCase in Android should work.
By default, the Eclipse plug-in will not build tests/ or its
subdirectories into your application's .apk.
I recommend you have one project for your main application, and
another *project* for your test package. Notice that two different
projects in Eclip
On Aug 10, 3:39 am, doug wrote:
> Oh well, It doesn't seem that the Eclipse plug-in would even run a
> test case subclassed directly from junit.framework.TestCase. How do
> folks test POJOs in Android then?
Which junit.framework.TestCase you are using? One coming from
android library
will be
Oh well, It doesn't seem that the Eclipse plug-in would even run a
test case subclassed directly from junit.framework.TestCase. How do
folks test POJOs in Android then?
Thanks,
doug
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post
5 matches
Mail list logo