← Back to team overview

nunit-core team mailing list archive

[Bug 634804] [NEW] Inherited Test Names are namespaced by parent

 

Public bug reported:

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.

** Affects: nunitv2
     Importance: Undecided
         Status: New

-- 
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: New

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.





Follow ups

References