Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 35 additions & 1 deletion docs/core/testing/unit-testing-mstest-sdk.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,34 @@ The concept of *profiles* allows you to select the default set of configurations

You can set the profile using the property `TestingExtensionsProfile` with one of the following three profiles:

* `Default` - Enables the recommended extensions for this version of MSTest.SDK. This is the default when the property isn't set explicitly.
* `None` - No extensions are enabled.

* `Default` - Enables the recommended extensions for this version of MSTest.SDK. This is the default when the property isn't set explicitly.

Enables the following extensions:

* [Code Coverage](./unit-testing-platform-extensions-code-coverage.md#microsoft-code-coverage)

* [Trx Report](./unit-testing-platform-extensions-test-reports.md#visual-studio-test-reports)

* `AllMicrosoft` - Enable all extensions shipped by Microsoft (including extensions with a restrictive license).

Enables the following extensions:

* [Code Coverage](./unit-testing-platform-extensions-code-coverage.md#microsoft-code-coverage)

* [Crash Dump](./unit-testing-platform-extensions-diagnostics.md#crash-dump)

* [Fakes](./unit-testing-platform-extensions-fakes.md#fakes-extension) (MSTest.Sdk 3.7.0+)

* [Hang Dump](./unit-testing-platform-extensions-diagnostics.md#hang-dump)

* [Hot Reload](./unit-testing-platform-extensions-hosting.md#hot-reload)

* [Retry](./unit-testing-platform-extensions-policy.md#retry)

* [Trx Report](./unit-testing-platform-extensions-test-reports.md#visual-studio-test-reports)

Here's a full example, using the `None` profile:

```xml
Expand All @@ -102,6 +126,16 @@ Here's a full example, using the `None` profile:
</Project>
```

| Extension/Profile | None | Default | AllMicrosoft |
|-------------------------------------------------------------------------------------------|:----:|:------------------:|:--------------------------------------:|
| [Code Coverage](https://www.nuget.org/packages/Microsoft.Testing.Extensions.CodeCoverage) | | :heavy_check_mark: | :heavy_check_mark: |
| [Crash Dump](https://www.nuget.org/packages/Microsoft.Testing.Extensions.CrashDump) | | | :heavy_check_mark: |
| [Fakes](https://www.nuget.org/packages/Microsoft.Testing.Extensions.Fakes) | | | :heavy_check_mark: (MSTest.Sdk 3.7.0+) |
| [Hang Dump](https://www.nuget.org/packages/Microsoft.Testing.Extensions.HangDump) | | | :heavy_check_mark: |
| [Hot Reload](https://www.nuget.org/packages/Microsoft.Testing.Extensions.HotReload) | | | :heavy_check_mark: |
| [Retry](https://www.nuget.org/packages/Microsoft.Testing.Extensions.Retry) | | | :heavy_check_mark: |
| [Trx](https://www.nuget.org/packages/Microsoft.Testing.Extensions.TrxReport) | | :heavy_check_mark: | :heavy_check_mark: |

### Enable or disable extensions

Extensions can be enabled and disabled by MSBuild properties with the pattern `Enable[NugetPackageNameWithoutDots]`.
Expand Down