nunit-core team mailing list archive
-
nunit-core team
-
Mailing list archive
-
Message #00954
[Bug 613031] Re: Subclasses of ExplicitAttribute ignored
See attached diff.
** Patch added: "ExplicitAndIgnoreSubclasses.diff"
https://bugs.launchpad.net/nunitv2/+bug/613031/+attachment/1521855/+files/ExplicitAndIgnoreSubclasses.diff
--
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: Triaged
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