Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unit testing custom StyleCop rules

I'm wondering what's the best way to go about unit testing custom SytleCop rules. I've read this but am hoping there's a better solution.

Thanks.

like image 453
Fung Avatar asked Aug 08 '26 04:08

Fung


1 Answers

There's a project called StyleCop Contrib at CodePlex where they have unit test for custom rules.

like image 188
opavlyshak Avatar answered Aug 10 '26 22:08

opavlyshak



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!