I recently have been looking into Code coverage tools, as i need some measureable information on how well a product is tested.
Being .NET based, i looked around NCover first(theres two versions of this) so i also stumbled across PartCover , which is free and although could do with a few tweaks, proved to be of use, certainly for an older project of mine that had NUnit tests already written.
Step 1 . Install and run
Run the installer as you would normally, You get a start menu entry under [Start] ->[Programs] ->[Gubka bob]
Step2. Choose your Run target
Go to [File] ->[Run Target]
- I Pointed the [Executable File] To the Nunit GUI (TypicalllyC:\Program Files\NUnit 2.4.8\bin\nunit.exe)
- Then i Pointed the [Working Directory] to the overall solution path of an old website. The solution contained a core dll with most of the code in it
- Next I added a rule to tell it what Classs to report on. I just used " [MyCoreDLL]* "
(Where MyCoreDLL was the name of the assembly]