stephenwang1011 / robotium

Automatically exported from code.google.com/p/robotium
0 stars 0 forks source link

JUnit TestRunner logging incorrect results #285

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When running tests, the testrunner first shows all the sub-tests within a 
single Junit test file as running and passing instantaneously (within a few 
hundred milliseconds of each other).  

E.g. in logcat:

TestRunner started: test1a 
TestRunner finished: test1a
TestRunner passed: test1a
TestRunner started: test1b
TestRunner finished: test1b
TestRunner passed: test1b
TestRunner started: test1c 
TestRunner finished: test1c
TestRunner passed: test1c
...

Then the actual test runs occur and the TestRunner again logs each test having 
stared, finished, passed.  However, I noticed that the tests show as passed 
even if they failed in the Eclipse test runner pane.

Original issue reported on code.google.com by glenview...@gmail.com on 23 Jun 2012 at 2:55

GoogleCodeExporter commented 9 years ago
This is the default Android behaviour when running tests. It has nothing to do 
with Robotium.

Original comment by renasr...@gmail.com on 25 Jun 2012 at 6:51