← Back to team overview

nunit-core team mailing list archive

[Bug 655882] Re: Make CategoryAttribute inherited

 

Thanks for the suggestion; that actually works out quite well, so I'm
going to go with that and consider this problem solved. It does seem
like something that would be nice to have available in NUnit, but the
workaround is easy enough. Thanks again!

-- 
Make CategoryAttribute inherited
https://bugs.launchpad.net/bugs/655882
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:
The attribute Category (used for making tests as being in a particular category) should be inherited. This would allow setting up an abstract base class for a certain type of test, marking it as [Category("Whatever")], and having NUnit recognize that every other test that inherits from that class is also in category "Whatever".

As of 2.5.7.10213, CategoryAttribute is not inherited.





References