← Back to team overview

nunit-core team mailing list archive

[Bug 613031] Re: Subclasses of ExplicitAttribute ignored

 

Used patch provided by Travis. Applies to both ExplicitAttribute and
IgnoreAttribute

-- 
Subclasses of ExplicitAttribute ignored
https://bugs.launchpad.net/bugs/613031
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: Fix Committed

Bug description:
Subclasses of ExplicitAttribute are ignored. Example:

public class NotYetImplementedAttribute : ExplicitAttribute { } 

[TestFixture, Explicit] public class Test1 { } 

Is ignored, where

[TestFixture, NotYetImplemented] public class Test1 { }

Is executed as if no Explicit attribute has been applied. 

While not a huge deal, having these attributes strongly typed does provide value when reading code and searching for instances of a given attribute. 

Thanks!

For initial discussion: http://groups.google.com/group/nunit-discuss/browse_thread/thread/81457a3067919396/e1ff82b037bb6fcf





References