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: README.md
+3-15Lines changed: 3 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -440,7 +440,7 @@ There is a simple performance test for the hit counting instrumentation in the t
440
440
441
441
The duration of the test can be tweaked by changing the number of iterations in the `[InlineData]`in the `PerformanceTest` class.
442
442
443
-
For more realistic testing it is recommended to try out any changes to the hit counting code paths on large, realistic projects. If you don't have any handy https://github.com/dotnet/corefx is an excellent candidate. [This page](https://github.com/dotnet/corefx/blob/master/Documentation/building/code-coverage.md) describes how to run code coverage tests for both the full solution and for individual projects with coverlet from nuget. Suitable projects (listed in order of escalating test durations):
443
+
For more realistic testing it is recommended to try out any changes to the hit counting code paths on large, realistic projects. If you don't have any handy https://github.com/dotnet/corefx is an excellent candidate. [This page](https://github.com/dotnet/corefx/blob/master/Documentation/building/code-coverage.md) describes how to run code coverage tests for both the full solution and for individual projects with coverlet from nuget. Suitable projects (listed in order of escalating test durations):
444
444
445
445
* System.Collections.Concurrent.Tests
446
446
* System.Collections.Tests
@@ -451,22 +451,10 @@ For more realistic testing it is recommended to try out any changes to the hit c
451
451
Change to the directory of the library and run the msbuild code coverage command:
452
452
453
453
dotnet msbuild /t:BuildAndTest /p:Coverage=true
454
-
455
-
Look for a line like this:
456
-
457
-
----- start 18:13:36,59 =============== To repro directly: =====================================================
458
-
459
-
It is followed by a `pushd` command into the artefact directory, and a command to run coverlet. Run these to get to see the coverlet output and especially the test duration. E.g.:
0 commit comments