Skip to content

MTP: Add command-line parameters for settings in coverage configuration file #199

Open

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.

Activity

  1. changed the title [-]Add command-line parameters for settings in coverage configuration file[/-] [+]MTP: Add command-line parameters for settings in coverage configuration file[/+] on Dec 15, 2025
  2. transferred this issue frommicrosoft/testfxon Dec 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions