Skip to content

Commit 3da5b98

Browse files
authored
Adding default note for IncludeTestAssembly
1 parent 5ca003a commit 3da5b98

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/test/customizing-code-coverage-analysis.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,9 @@ In this example, setting `<IncludeTestAssembly>` to `False` will exclude test as
162162
</RunSettings>
163163
```
164164

165+
> [!NOTE]
166+
> The default value of `IncludeTestAssembly` in [VSTest](https://learn.microsoft.com/en-us/visualstudio/test/vstest-console-options?view=vs-2022) is `true`, while it is `false` in [Microsoft.Testing.Platform](https://learn.microsoft.com/en-us/dotnet/core/testing/microsoft-testing-platform-extensions-code-coverage). This means that test projects are included by default. For more information, see [Code Coverage configuration](https://github.com/microsoft/codecoverage/blob/main/docs/configuration.md).
167+
165168
### Regular expressions
166169

167170
Include and exclude nodes use regular expressions, which aren't the same as wildcards. All matches are case-insensitive. Some examples are:

0 commit comments

Comments
 (0)