Getting an error running a Android unit test which extends ActivityInstrumentationTestCase2, and so want try and debug the test. However the break points are being ignored and when debug as Android Junit Test it gets to Running tests…
Here’s the console log:
[2011-03-16 17:02:54 - AppName] Launching instrumentation android.test.InstrumentationTestRunner on device [my device ID here]
[2011-03-16 17:02:55 - AppName] Collecting test information
[2011-03-16 17:02:55 - AppName] Test run failed: Process crashed.
[2011-03-16 17:02:55 - AppName] Test run finished
[2011-03-16 17:02:56 - AppName] Sending test information to Eclipse
[2011-03-16 17:02:56 - AppName] Running tests...
Any ideas?
It should look like this:
Notice that your test is crashing even before getting the debugger connected.
There might be a problem in you constructor.