Skip to content

paolocosta/OpenCoverSample

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenCoverSample

How to automate Test Code Coverage on C# projects

  • Compile the solution (no build script is provided, so far)
  • Execute run.bat in a Command Prompt
  • OpenCover will run NUnit tests and will produce an XML report in the directory coverage
  • ReportGenerator will convert the XML report to a human readable HTML
  • Find the Test Code Coverage html report in the coverage directory

To do

  • Add a build script
  • Convert the run.bat to FAKE
  • Currently, NUnit Test Runner, OpenCover and ReportGenerator are statically stored in the tools directory. It makes sense to have them downloaded by NuGet during the build process, if possible.

About

How to automate Test Code Coverage on C# projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 88.5%
  • Batchfile 11.5%