In the past it has been a real PITA to unit test custom Code Analysis rules. I haven't found anything out there that shows the situation to be any different in 2010, but I'm not giving up. If anyone knows if this is "possible" in 2010 please respond - thanks!
Johnathan,
I should've posted this sooner...I eventually figured this out in VS2010, and it's actually quite easy:
http://www.jasonbock.net/JB/Default.aspx?blog=entry.d6f6046800d945e6b94e8d92a4da52c2
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With