← Back to team overview

nunit-core team mailing list archive

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

 

** Project changed: nunit-3.0 => nunit-console

-- 
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
Core Developers, which is the registrant for NUnit Framework.

Status in NUnit Console Runner: 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