2

Is it possible to continue Testexcution with Android testing Framework (JUNIT 3) after one single test* Method failed? Currently it stops the whole test execution and does not run further tests.

I'd like it to:

run test 1 successfully

fail test 2

run test 3 successfully

stop

report error of test 2

Denny1989
  • 639
  • 1
  • 9
  • 15
  • What TestRunner are you using, how do you specifiy which tests exactly to run (project, package, class)? Because my tests go through even if single tests fail.. – Blacklight Jul 04 '14 at 11:42
  • I use GoogleInstrumentationTestRunner and specify by package name. The problem seems to be, not that the test fails, but that the test terminates and i dont know why. It spawns a thread and wants to wait wor it with countdownlatch. i think that is the problem. But i need to test async call. – Denny1989 Jul 07 '14 at 06:35

0 Answers0