Coverlet is a cross-platform code coverage framework for .NET, with support for line, branch and method coverage. It works with .NET Framework on Windows and .NET Core on all supported platforms. Coverlet documentation reflect the current repository state of the features, not the released ones. Check the changelog to understand if the documented feature you want to use has been officially released. Coverlet is integrated into the Visual Studio Test Platform as a data collector. Coverlet also integrates with the build system to run code coverage after tests. Enabling code coverage is as simple as setting the CollectCoverage property to true. The coverlet tool is invoked by specifying the path to the assembly that contains the unit tests. You also need to specify the test runner and the arguments to pass to the test runner using the --target and --targetargs options respectively.

Features

  • Coverlet can be used through three different drivers
  • VSTest engine integration
  • MSBuild task integration
  • .NET Global tool (supports standalone integration tests)
  • Coverlet supports only SDK-style projects
  • Coverlet is integrated into the Visual Studio Test Platform as a data collector
  • You need to be running .NET Core SDK v2.2.401 or newer

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Coverlet

Coverlet Web Site

Other Useful Business Software
Powerful App Monitoring Without Surprise Bills Icon
Powerful App Monitoring Without Surprise Bills

AppSignal starts at $23/month with all features included. No overages, no hidden fees. 30-day free trial.

Tired of monitoring tools that punish you for scaling? AppSignal offers transparent, predictable pricing with every feature unlocked on every plan. Track errors, monitor performance, detect anomalies, and manage logs across Ruby, Python, Node.js, and more. Trusted by developers since 2012 with free dev-to-dev support. No credit card required to start your 30-day trial.
Try AppSignal Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Coverlet!

Additional Project Details

Programming Language

C#

Related Categories

C# Frameworks, C# Code Coverage Tool

Registered

2022-09-13