Редагувати

Поділитися через


Microsoft.Testing.Platform extensions

Microsoft.Testing.Platform can be customized through extensions. These extension are either built-in or can be installed as NuGet packages. Extensions installed through NuGet packages will auto-register the extensions they are holding to become available in test execution.

Each and every extension is shipped with its own licensing model (some less permissive), be sure to refer to the license associated with the extensions you want to use.

Extensions

Code Coverage

Extensions designed to provide code coverage support.

Diagnostics

Extensions offering diagnostics and troubleshooting functionalities.

Hosting

Extensions affecting how the test execution is hosted.

Policy

Extensions allowing to define policies around the test execution.

Test Reports

Extensions allowing to produce test report files that contains information about the execution and outcome of the tests.

VSTest Bridge

This extension provides a compatibility layer with VSTest allowing the test frameworks depending on it to continue supporting running in VSTest mode (vstest.console.exe, usual dotnet test, VSTest task on AzDo, Test Explorers of Visual Studio and Visual Studio Code...).

Microsoft Fakes

This extension provides support to execute a test project that makes use of Microsoft Fakes.