Sorry for responding to this thread so late. Have you looked at the
test running support that is in the latest 0.9.X ADT Plugin For
Eclipse? You should be able to invoke a Debug As Android JUnit
Test which will run instrumentation tests and automatically connect
the Eclipse debugger.
On Apr 6,
Thanks for the response. I am aware of the instrumentation mechanism
to run tests, however I have been unable to determine how to use it in
conjunction with the debugger in eclipse, thus it is essentially
useless to me.
On Apr 5, 11:10 pm, Andrew Stadler stad...@gmail.com wrote:
It's actually
It's actually quite useful and doable to write pure unit tests
within the InstrumentationTestRunner framework.
For a working example, please take a look at ApiDemos, in the tests/
directory, and look for classes that extend the TestCase class.
Benefits of doing it this way:
1. Although you
I discovered that at least some of JUnit exists on the emulator. In
particular TestCase and Assert exist. However, TestRunner does not
appear to exist. I find it odd that only parts of JUnit are present.
--~--~-~--~~~---~--~~
You received this message because you
Assuming there is no easy way to make use of android.test without
instrumentation, has anyone tried to do their own port of JUnit (or
similar framework) to the android platform? On Windows Mobile I am
using NUnitLite. Does JUnitLite exist?
--~--~-~--~~~---~--~~
5 matches
Mail list logo