OpenCover

OpenCover

OpenCover is an open source tool for measuring code coverage of .NET programs. It allows you to see what code is executed and what code is missed during automated tests.
OpenCover screenshot

OpenCover: Measure Code Coverage

An open source tool for measuring .NET program code coverage, allowing you to see executed and missed code during automated tests.

What is OpenCover?

OpenCover is an open source code coverage analysis tool for .NET applications. It works by instrumenting the target .NET assemblies during runtime to record which lines of code are executed. The coverage results can then be formatted into detailed reports.

Some key features of OpenCover include:

  • Integrates with unit test frameworks like NUnit, xUnit.net and MSTest to show coverage of code executed during tests
  • Supports branch coverage analysis to see if all paths of code logic have been tested
  • Can filter coverage reporting by namespace, class, method or line to focus on specific app areas
  • Formats results into detailed HTML reports viewable in a browser
  • Command line interface for integration into build scripts and automation
  • Free and open source under the Apache 2.0 license

Overall, OpenCover provides a way for .NET developers to get code coverage metrics and identify gaps in their test suites. It helps improve test quality and confidence in the code.

OpenCover Features

Features

  1. Measures code coverage of .NET applications
  2. Integrates with testing frameworks like NUnit, xUnit, MSTest
  3. Generates detailed code coverage reports
  4. Highlights missed code
  5. Open source and free

Pricing

  • Open Source

Pros

Free and open source

Easy to use

Integrates seamlessly with testing frameworks

Provides detailed code coverage metrics

Helps improve test quality

Cons

Limited to .NET applications

Setup can be tricky for novice users

Reporting could be more intuitive

Lacks some advanced enterprise features

Reviews & Ratings

Login to Review
No reviews yet

Be the first to share your experience with OpenCover!

Login to Review

The Best OpenCover Alternatives

Top Development and Code Coverage and other similar apps like OpenCover

Here are some alternatives to OpenCover:

Suggest an alternative ❐

NCrunch icon

NCrunch

NCrunch is a Visual Studio extension that enables automated parallelized testing for .NET developers. It runs automated tests in the background and displays real-time feedback directly in the Visual Studio code editor about test status, execution times, and code coverage.Some key features of NCrunch include:Background test execution - Tests run...
NCrunch image
Fine Code Coverage icon

Fine Code Coverage

Fine Code Coverage is an open source code coverage analysis tool specifically designed for .NET applications. It allows .NET developers to easily monitor code coverage metrics like statement, branch, and method coverage to understand how much of their code is actually being executed and tested.Some key features of Fine Code...
Fine Code Coverage image
DotCover icon

DotCover

dotCover is a .NET unit test coverage tool developed by JetBrains. It helps .NET developers analyze code coverage for applications written in languages like C#, VB.NET, F#, etc. Some key features include: Integration with unit testing frameworks such as MSTest, NUnit, xUnit for code instrumentation and coverage analysis. On-the-fly coverage...
DotCover image