Names of tests declared in base classes should be default reflected names
Bug #1453793 reported by
Silvio Jeschofnik
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
NUnit V2 |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
If you have a base class containing tests
public abstract class BaseClass
{
[Test]
public void Test() {}
}
and a derived class
[TestFixture]
public class TestClass : BaseClass {}
and execute the tests of this class, the name of the executed test in result will be Namespace.
This behavior is not expected and the name should be Namespace.
Kind Regards
To post a comment you must log in.
As indicated here https:/ /launchpad. net/nunitv2
NUnit is no longer maintained on Launchpad.
The version 2 project is at http:// github. com/nunit/ nunitv2 but is actually no longer maintained. We are aware of the problem you describe and have eliminated it in version 3. Currently, version 3 reports the names correctly.
If you are following NUnit on Launchpad, you probably missed the final release of V2, which was 2.6.4. You can find it on GitHub.
NUnit 3.0 is in beta and can also be found on GitHub at http:// github. com/nunit/ nunit