← Back to team overview

nunit-core team mailing list archive

[Bug 634804] Re: Inherited Test Names are namespaced by parent

 

Upon review, it's clear that this requires significant changes to
implement. The internal name of the test uses the base class and that
name is used in other places in NUnit. Most important, it is used to
organize the tree in the Gui. So this is being moved from the nunitv2
project to nunit-3.0.

** Changed in: nunitv2
     Assignee: Charlie Poole (charlie.poole) => (unassigned)

** Changed in: nunitv2
    Milestone: 2.5.8 => None

** Changed in: nunitv2
   Importance: Low => High

** Changed in: nunitv2
       Status: Confirmed => Triaged

** Project changed: nunitv2 => nunit-3.0

-- 
Inherited Test Names are namespaced by parent
https://bugs.launchpad.net/bugs/634804
You received this bug notification because you are a member of NUnit
Developers, which is subscribed to NUnit V2.

Status in NUnit Test Framework: Triaged

Bug description:
Given the following test classes in NUnit 2.5.3 and above: 

    public abstract class TestParent 
    { 
        [Test] 
        public void TestMethod() 
        { 
        } 
    } 

    [TestFixture] 
    public class TestChild : TestParent 
    { 
    } 

when specifying the test on the commandline, the name of the test must be specified as /run=TestChild.TestParent.TestMethod.  It should be /run=TestChild.Testmethod.

This changed between 2.5.2 and 2.5.3.





References