The name of inner class test fixture was not displayed properly in GUI runner

Bug #427173 reported by Kenneth Xu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
NUnit V2
Fix Released
High
Charlie Poole

Bug Description

This happens only when the enclosing test fixture is a generic class.

    [TestFixture(typeof(int))] public class B<T> {
        [Test] public void Bar() { }
        [TestFixture(typeof(int))] public class Inner {
            [Test] public void Foo() {}
        }
    }

See http://groups.google.com/group/nunit-discuss/browse_thread/thread/41de66608c20ec0c?hl=en

Related branches

Changed in nunitv2:
status: New → In Progress
importance: Undecided → High
assignee: nobody → Charlie Poole (charlie.poole)
milestone: none → 2.5.3
Revision history for this message
Charlie Poole (charlie.poole) wrote :

The display of individual classes is now fixed. The discussion on the mailing list also mentions displaying nested classes in the tree in a hierarchical manner - with nested classes under the class in which they are nested. This is a major change to how NUnit handles the display of classes and will not be implemented at this time, even though it seems like a good idea. We'll revisit the issue in NUnit 3.0.

Changed in nunitv2:
status: In Progress → Fix Committed
Changed in nunitv2:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.