MudassarRasool / mb-unit

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

Non-parametrized tests not shown in summary section of html log #771

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a test fixture/class with one parametrized test and one 
non-parametrized test. 
2. Run both tests, and generate a html or mhtml report.
3. View the summary section

What is the expected output? What do you see instead?
I was expecting to see both the parametrized test and the non-parametrized test 
in the summary section at the very top of the html report file. Instead I only 
see the parametrized test reported here.
By parametrized test I mean a test that has at least one input parameter such 
as: MyTest1(int myInt). The the non-parametrized test has zero parameters such 
as: MyTest2()
Both tests are run and their details are visible further down in the html file, 
however it would be nice to have all the tests from all the classes listed in 
the summary.

What version of the product are you using? On what operating system?
MBUnit 3.1.397 for x86. (I also downloaded 3.2, however the behavior is 
identical)
Windows XP

Please provide any additional information below.
This appears to be another variation of issue 523 which is explained: "The 
summary section displays the parent nodes that contain at least one child test."
I would however like to suggest that all tests are listed in the summary 
section in your future releases (3.3?). Another reason is that when running the 
tests through Hudson (build server), the xml file outputted by Gallio is read 
by JUnit to generate another xml file. This second xml file is then read by 
Hudson which will display test trends (and graphs) with number of tests 
passed/failed over all builds/runs. However JUnit appears to only read this 
summary section of the Gallio generated xml file, resulting in only 
parametrized tests being displayed through the Hudson web interface (although 
all tests were run).

Original issue reported on code.google.com by eanon...@gmail.com on 14 Nov 2010 at 10:50

GoogleCodeExporter commented 8 years ago
We definitely need to change how the summary section is built.
This issue is going to be merged with 523.

Thank you for the suggestions,
Yann.

Original comment by Yann.Tre...@gmail.com on 15 Nov 2010 at 7:16

GoogleCodeExporter commented 8 years ago

Original comment by Yann.Tre...@gmail.com on 14 Jun 2011 at 5:54