Feature Suggestions

NCrunch.Framework.ExclusivelyUses Inheritance

Started by aboy021 on 7,772 views

Is the ExclusivelyUses attribute inherited?

e.g.

[AttributeUsage (Inherited = True)]
The declaration for ExclusivelyUsesAttribute doesn't use the AttributeUsage marker for inheritance, but NCrunch does search the entire inheritance structure for it ... so in practice, yes. A test superclass marked with this attribute should have it automatically specified for all subclasses.
Excellent, thanks for the clarification.

It's handy on an integration test base class I've got, and what you're telling me has helped me track down an issue. Thanks.

Post a reply

Log in to reply.