Microsoft.CodeCoverage package brings infra for collecting code coverage from vstest.console.exe and "dotnet test".


Keywords
code-coverage, codecoverage, microsoft, mstest, test, testing, testplatform, unittest, visual-studio, vstest, dotnet, test-runner, testing-tools, unit-testing
License
MIT
Install
Install-Package Microsoft.CodeCoverage -Version 17.10.0-release-24177-07

Documentation

VSTest

The Visual Studio Test Platform is an open and extensible test platform that enables running tests, collect diagnostics data and report results. The Test Platform supports running tests written in various test frameworks, and using a pluggable adapter model. Based on user-choice, the desired test framework and its corresponding adapter can be acquired as a vsix or as NuGet package as the case may be. Adapters can be written in terms of a public API exposed by the Test Platform.

The Test Platform currently ships as part Visual Studio 2019, and in the .NET Core Tools Preview 3.

Build status

Build Status

Contributing

IMPORTANT: We only accept PRs for which exists a previously discussed and approved issue.

There are many ways to contribute to VSTest

NOTE: When adding a new public API, always add it directly to the PublicAPI.Shipped.txt file. This helps us ensure we are always considering potential breaking changes (even between successive commits of un-released version) and avoids the burden of the unshipped to shipped commit.

Documentation

Features

Other

Building

VSTest can be built from within Visual Studio or from the CLI.

Microsoft Open Source Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

License

VSTest platform is licensed under the MIT license

Issue Tracking

Please see issue tracking for a description of the workflow we use to process issues.

Roadmap

For more information on shipped and upcoming features/enhancements please refer to our Releases.