You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/instrumentation.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,8 +8,8 @@ Therefore, in version [17.5.0](https://www.nuget.org/packages/Microsoft.CodeCove
8
8
9
9
Dynamic instrumentation necessitates configuring environment variables (CLR Profiling) for code coverage collection. In environments where this isn't feasible, such as in IIS, we recommend opting for static instrumentation.
10
10
11
-
12
11
You can control dynamic and static instrumentation using below flags in your configuration:
3.`Algorithms.Core.Tests` - contains unit tests for `Algorithms.Core`. It is [MSTest runner project](https://learn.microsoft.com/en-us/dotnet/core/testing/unit-testing-mstest-runner-intro?tabs=dotnetcli)
7
8
4.`Algorithms.Core.MSTest.Sdk.Tests` - contains unit tests for `Algorithms.Core`. It is [MSTest runner project using MSTest SDK](https://learn.microsoft.com/en-us/dotnet/core/testing/unit-testing-mstest-sdk)
8
9
9
-
# Scenarios
10
+
##Scenarios
10
11
11
12
1.[***Scenario 01*** Code coverage for MSTest Runner project using dynamic instrumentation](scenarios/scenario01/README.md)
12
13
2.[***Scenario 02*** Code coverage for MSTest Runner project using static instrumentation](scenarios/scenario02/README.md)
Copy file name to clipboardExpand all lines: samples/Algorithms/scenarios/scenario01/README.md
+7-6Lines changed: 7 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ Collect code coverage using dynamic instrumentation for MSTest runner project.
4
4
5
5
> **_NOTE:_** MSTest runner project coverage extension by default is not collecting native code coverage. If you want to enable please set to `True``EnableStaticNativeInstrumentation` or `EnableDynamicNativeInstrumentation` in configuration.
Copy file name to clipboardExpand all lines: samples/Algorithms/scenarios/scenario02/README.md
+8-7Lines changed: 8 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ Collect code coverage using static instrumentation for MSTest runner project. As
4
4
5
5
> **_NOTE:_** MSTest runner project coverage extension by default is not collecting native code coverage. If you want to enable please set to `True``EnableStaticNativeInstrumentation` or `EnableDynamicNativeInstrumentation` in configuration.
6
6
7
-
# Configuration
7
+
##Configuration
8
8
9
9
```xml
10
10
<?xml version="1.0" encoding="utf-8"?>
@@ -17,7 +17,7 @@ Collect code coverage using static instrumentation for MSTest runner project. As
Copy file name to clipboardExpand all lines: samples/Algorithms/scenarios/scenario03/README.md
+7-6Lines changed: 7 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ Collect code coverage using compile-time instrumentation for MSTest runner proje
4
4
5
5
> **_NOTE:_** MSTest runner project coverage extension by default is not collecting native code coverage. If you want to enable please set to `True``EnableStaticNativeInstrumentation` or `EnableDynamicNativeInstrumentation` in configuration.
Copy file name to clipboardExpand all lines: samples/Algorithms/scenarios/scenario04/README.md
+7-6Lines changed: 7 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ Collect code coverage using `dotnet-coverage` tool for MSTest runner project.
4
4
5
5
> **_NOTE:_** MSTest runner project coverage extension by default is not collecting native code coverage. If you want to enable please set to `True``EnableStaticNativeInstrumentation` or `EnableDynamicNativeInstrumentation` in configuration.
0 commit comments