Skip to content

Commit 3972bd0

Browse files
Evangelinknohwndadegeo
authored
MSTest SDK list extensions per profile (#43715)
* MSTest SDK list extensions per profile * Update docs/core/testing/unit-testing-mstest-sdk.md Co-authored-by: Jakub Jareš <[email protected]> * Clean up table * Rework table as bullet points --------- Co-authored-by: Jakub Jareš <[email protected]> Co-authored-by: Andy (Steve) De George <[email protected]>
1 parent 71e49bd commit 3972bd0

File tree

1 file changed

+35
-1
lines changed

1 file changed

+35
-1
lines changed

docs/core/testing/unit-testing-mstest-sdk.md

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,34 @@ The concept of *profiles* allows you to select the default set of configurations
8383

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

86-
* `Default` - Enables the recommended extensions for this version of MSTest.SDK. This is the default when the property isn't set explicitly.
8786
* `None` - No extensions are enabled.
87+
88+
* `Default` - Enables the recommended extensions for this version of MSTest.SDK. This is the default when the property isn't set explicitly.
89+
90+
Enables the following extensions:
91+
92+
* [Code Coverage](./unit-testing-platform-extensions-code-coverage.md#microsoft-code-coverage)
93+
94+
* [Trx Report](./unit-testing-platform-extensions-test-reports.md#visual-studio-test-reports)
95+
8896
* `AllMicrosoft` - Enable all extensions shipped by Microsoft (including extensions with a restrictive license).
8997

98+
Enables the following extensions:
99+
100+
* [Code Coverage](./unit-testing-platform-extensions-code-coverage.md#microsoft-code-coverage)
101+
102+
* [Crash Dump](./unit-testing-platform-extensions-diagnostics.md#crash-dump)
103+
104+
* [Fakes](./unit-testing-platform-extensions-fakes.md#fakes-extension) (MSTest.Sdk 3.7.0+)
105+
106+
* [Hang Dump](./unit-testing-platform-extensions-diagnostics.md#hang-dump)
107+
108+
* [Hot Reload](./unit-testing-platform-extensions-hosting.md#hot-reload)
109+
110+
* [Retry](./unit-testing-platform-extensions-policy.md#retry)
111+
112+
* [Trx Report](./unit-testing-platform-extensions-test-reports.md#visual-studio-test-reports)
113+
90114
Here's a full example, using the `None` profile:
91115

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

129+
| Extension/Profile | None | Default | AllMicrosoft |
130+
|-------------------------------------------------------------------------------------------|:----:|:------------------:|:--------------------------------------:|
131+
| [Code Coverage](https://www.nuget.org/packages/Microsoft.Testing.Extensions.CodeCoverage) | | :heavy_check_mark: | :heavy_check_mark: |
132+
| [Crash Dump](https://www.nuget.org/packages/Microsoft.Testing.Extensions.CrashDump) | | | :heavy_check_mark: |
133+
| [Fakes](https://www.nuget.org/packages/Microsoft.Testing.Extensions.Fakes) | | | :heavy_check_mark: (MSTest.Sdk 3.7.0+) |
134+
| [Hang Dump](https://www.nuget.org/packages/Microsoft.Testing.Extensions.HangDump) | | | :heavy_check_mark: |
135+
| [Hot Reload](https://www.nuget.org/packages/Microsoft.Testing.Extensions.HotReload) | | | :heavy_check_mark: |
136+
| [Retry](https://www.nuget.org/packages/Microsoft.Testing.Extensions.Retry) | | | :heavy_check_mark: |
137+
| [Trx](https://www.nuget.org/packages/Microsoft.Testing.Extensions.TrxReport) | | :heavy_check_mark: | :heavy_check_mark: |
138+
105139
### Enable or disable extensions
106140

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

0 commit comments

Comments
 (0)