Unit testing methods decorated with custom attributes
- by Joel Cunningham
I am trying to retrofit unit tests on to some existing code base. Both the class and method I want to unit test is decorated with custom attributes. These attributes are fairly sophisticated and I dont want them to run as part of the unit test.
The only solution I have come up with is to compile the attribute out when I want to unit test. I dont…