Skip to content

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

@bart-vmware

Description

@bart-vmware

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.

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