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

You Might Also Like
Our Free Plans just got better! | Auth0 by Okta Icon
Our Free Plans just got better! | Auth0 by Okta

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your secuirty. Auth0 now, thank yourself later.
Try free now
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