How do I use OpenCover and ReportGenerator to view Unit Test Coverage Results?

后端 未结 4 829
温柔的废话
温柔的废话 2021-01-31 02:52

I\'m a noob to using both OpenCover and ReportGenerator and I\'m struggling a bit in understanding how to get them working. I\'m using VS.NET 2012 \'Professional\' which means I

4条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-31 03:22

    After several years of using these open source tools, I finally created a comprehensive post on how to use OpenCover and ReportCover to generate unit test coverage metrics.

    The post describes how to create the .bat file and the commands needed to do the following:

    • Generate an output report of unit test metrics using OpenCover
    • Generating a .htm report using ReportGenerator
    • Analyzing the output data to interpret unit test coverage metrics

    Using OpenCover and ReportGenerator to get Unit Testing Code Coverage Metrics in .NET

提交回复
热议问题