Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix friendly name of code coverage collection for Microsoft.NET.Test.SDK #14180

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/pipelines/ecosystems/dotnet-core.md
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,7 @@ steps:
inputs:
command: test
projects: '**/*Tests/*.csproj'
arguments: '--configuration $(buildConfiguration) --collect "Code coverage"'
arguments: '--configuration $(buildConfiguration) --collect "Code Coverage"'
```

To add the **.NET Core** task through the task editor:
Expand All @@ -686,7 +686,7 @@ To add the **.NET Core** task through the task editor:

1. **Command**: test.
1. **Path to projects**: _Should refer to the test projects in your solution_.
1. **Arguments**: `--configuration $(BuildConfiguration) --collect "Code coverage"`.
1. **Arguments**: `--configuration $(BuildConfiguration) --collect "Code Coverage"`.

1. Ensure that the **Publish test results** option remains selected.

Expand All @@ -696,7 +696,7 @@ If you choose to run the `dotnet test` command, specify the test results logger
steps:
# ...
# do this after your tests have run
- script: dotnet test <test-project> --logger trx --collect "Code coverage"
- script: dotnet test <test-project> --logger trx --collect "Code Coverage"
- task: PublishTestResults@2
inputs:
testRunner: VSTest
Expand Down