Skip to content

Specifying threshold level for each threshold type.Β #379

Closed
@arun-subramanian-1

Description

@arun-subramanian-1

Threshold command-line option /P:Threshold seems to use a single value for all threshold type.
I would like to specify different threshold level for each threshold types.

like 100% method but give like 50% branch for ex.

/p:Threshold=\"50,100\" /p:ThresholdType=\"branch,method\"

But this doesnt work, it throws error

.... error : The minimum branch coverage is below the specified 50100  ....
.... error : The minimum method coverage is below the specified 50100 ....
 > coverlet --version
Cross platform .NET Core code coverage tool
1.5.0.0
 > 

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions