Skip to content

Commit 9299c80

Browse files
authored
Merge pull request #10688 from fhnaseer/IncludeTestAssembly
Adding default note for IncludeTestAssembly in code coverage documentation
2 parents 5ca003a + f314670 commit 9299c80

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](/visualstudio/test/vstest-console-options) is `true`, while it is `false` in [Microsoft.Testing.Platform](/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)