Hello, I have already read through all kind of tutorials on how to do testing with android, but in my case I cant get the first simple test class to work as I think it should.
When I select my test project and want to RunAs Android JUnit Test the test is run in the emulator (see log below) but my @Test methods are not executed. In the JUnitTab it shows: Runs 1/1 Errors:0 Failures: 0 And the bar is green. The eventhough, my @Test-Methods both should fail! And they do, if I select them directly in the Outline Tab by RunAs Android JUnit Test. It seem that I am still missing a propably simple littel detail in setting up my UnitTests.... Can someone please bring me on the right track? Regards Rainer ---> [2011-12-03 12:07:27 - OekotempTest] Android Launch! [2011-12-03 12:07:27 - OekotempTest] adb is running normally. [2011-12-03 12:07:27 - OekotempTest] Performing android.test.InstrumentationTestRunner JUnit launch [2011-12-03 12:07:27 - OekotempTest] Automatic Target Mode: Preferred AVD 'HTCEVO3D' is available on emulator 'emulator-5554' [2011-12-03 12:07:27 - OekotempTest] Uploading OekotempTest.apk onto device 'emulator-5554' [2011-12-03 12:07:28 - OekotempTest] Installing OekotempTest.apk... [2011-12-03 12:07:30 - OekotempTest] Success! [2011-12-03 12:07:30 - OekotempTest] Project dependency found, installing: Oekotemp [2011-12-03 12:07:31 - Oekotemp] Application already deployed. No need to reinstall. [2011-12-03 12:07:31 - OekotempTest] Launching instrumentation android.test.InstrumentationTestRunner on device emulator-5554 [2011-12-03 12:07:31 - OekotempTest] Collecting test information [2011-12-03 12:07:34 - OekotempTest] Sending test information to Eclipse [2011-12-03 12:07:34 - OekotempTest] Running tests... [2011-12-03 12:07:36 - OekotempTest] Test run finished -- 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

