microsoft / microsoft/codecoverage
MTP: Add command-line parameters for settings in coverage configuration file
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 125
- Forks
- 17
- Avg merge
- 1h 17m
- Merged PRs (30d)
- 2
Description
Summary
Enable overriding the coverage settings from a configuration file on the command line, similarly to what's possible with VSTest.
Background and Motivation
To make coverage work with SonarCloud, we need different settings. Not everything listed at https://learn.microsoft.com/en-us/dotnet/core/additional-tools/dotnet-coverage#settings and https://github.com/microsoft/codecoverage/blob/main/docs/configuration.md can be overridden from the command line. Therefore, we need to maintain multiple almost-similar configuration files for coverage settings, depending on which tool consumes the coverage data and where the tests execute.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files or tests. Start by comparing the coverage configuration options in the two linked Microsoft documents with the command-line behavior described for VSTest, then identify the settings needed for SonarCloud and differing test locations. Done means those settings can be overridden on the command line without maintaining near-duplicate configuration files.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- cli, testing-qa
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100