I am currently trying to write a unit test library for a code base in C #. I want to see the percentage of code coverage that my tests achieve. I am using VS2010, which has no built-in code analysis tools. I downloaded FxCop and included it in an external tool in VS2010, but I do not know how to get the percentage of code coverage. I believe that this will be done by setting the rules for this, but I'm not sure. I looked at the ruleset and how to create custom rules, but I'm not sure how to implement them or which ruleset libraries I use.
I am completely new to FxCop and external analysis tools in general, so step by step or any direction you can give would be great!
source
share