BenMorris / NetArchTest

A fluent API for .Net that can enforce architectural rules in unit tests.
MIT License
1.39k stars 82 forks source link

HaveCustomAttribute does not check inherited attributes #55

Closed sm-g closed 4 years ago

sm-g commented 4 years ago

Would be nice to have rule like BeDecoratedWithOrInherit from https://fluentassertions.com/typesandmethods/

NeVeSpl commented 4 years ago

Two new rules: HaveCustomAttributeOrInherit and NotHaveCustomAttributeOrInherit were added in #60

BenMorris commented 4 years ago

This has been approved now and will be in the next release.