Skip to content

Commit abb7e78

Browse files
authored
Add note about IncludeTestAssembly default in MTP Code Coverage (#45521)
* Add note about IncludeTestAssembly default in MTP Code Coverage * Update docs/core/testing/microsoft-testing-platform-extensions-code-coverage.md
1 parent 8328eb9 commit abb7e78

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/core/testing/microsoft-testing-platform-extensions-code-coverage.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ Microsoft Code Coverage provides the following options:
3636

3737
For more information about the available options, see [settings](../additional-tools/dotnet-coverage.md#settings) and [samples](https://github.com/microsoft/codecoverage/tree/main/samples/Algorithms).
3838

39+
> [!NOTE]
40+
> The default value of `IncludeTestAssembly` in Microsoft.Testing.Extensions.CodeCoverage is `true`, while it used to be `false` in VSTest. This means that test projects are excluded by default. For more information, see [Code Coverage configuration](https://github.com/microsoft/codecoverage/blob/main/docs/configuration.md).
41+
3942
## Coverlet
4043

4144
> [!IMPORTANT]

0 commit comments

Comments
 (0)