MudassarRasool / mb-unit

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

Icarus: NUnit Tests are nested inside their namespaces twice on the test tree, don't honour "Flat" #801

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Load the attached test assembly 
2.
3.

What is the expected output? What do you see instead?
In "Namespace,Flat" mode: expected_flat.jpg, actual_flat.jpg
In "Namespace,Tree" mode: expected_tree.jpg, actual_tree.jpg

The NUnit tests don't honour "Flat" mode, and have the namespace repeated twice.

What version of the product are you using? On what operating system?
3.3.174 on Windows 7 x64

Please provide any additional information below.
I have a fix for this (NUnitTestExplorerEngine needs to handle "Namespace" 
nodes better), and I can apply my own NamespaceTreeBuilder via a plugin, but I 
wondering if the current behaviour is there for a reason, or if it's just an 
oversight?

Original issue reported on code.google.com by wayne.br...@gmail.com on 21 Jan 2011 at 3:31

Attachments:

GoogleCodeExporter commented 8 years ago
I'm pretty sure it's an oversight, you're welcome to fix it :)

Original comment by grahamr...@gmail.com on 26 Feb 2011 at 1:08

GoogleCodeExporter commented 8 years ago

Original comment by wayne.br...@gmail.com on 17 Mar 2011 at 3:59