← Back to team overview

nunit-core team mailing list archive

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

 

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

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

-- 
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 V2 Test Framework: Confirmed

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