shekharpro / mb-unit

Automatically exported from code.google.com/p/mb-unit
0 stars 0 forks source link

Test Results Count and Execution Log Count are different #478

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Running tests with MbUnit 3 and Gallio in Icarus

What is the expected output? What do you see instead?
I expect that the number of tests reported on the two different screens 
should match.
Test Results shows: 711 tests - 711 passed - 0 failed - 0 inconclusive - 0 
skipped - 0.0s
Execution Log shows: Root  (check) 1029 x0 (triangle) 0
    Duration 164.022s, Assertions 2899.

What version of the product are you using? On what operating system?
Gallio/Icarus/MbUnit Version 3.0.6.787
Windows Vista Ultimate SP2

Please provide any additional information below.
The counts on the Execution Log is the same I had with MbUnit 2.

Original issue reported on code.google.com by NetRateS...@gmail.com on 23 Jun 2009 at 4:51

GoogleCodeExporter commented 9 years ago
Yeah, this has been around for a while. The difference in the numbers is caused 
by
dynamic test generation, row tests for example. Icarus counts the tests during
exploration, but at runtime there can be many more.

I've made a slight change (what I should have done in the first place) so that 
if the
count of passed/failed etc is greater than the total then it becomes the total. 
This
should solve the issue from your point of view, but I'll look into whether it is
possible to increase the total as new tests are created rather than waiting 
till the end.

Original comment by grahamr...@gmail.com on 26 Jul 2009 at 2:27

GoogleCodeExporter commented 9 years ago

Original comment by jeff.br...@gmail.com on 29 Sep 2009 at 1:34

GoogleCodeExporter commented 9 years ago

Original comment by grahamr...@gmail.com on 30 Sep 2009 at 5:23