-
Notifications
You must be signed in to change notification settings - Fork 388
Specifying threshold level for each threshold type. #379
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
Comments
Confirm at the moment we use only single value https://github.com/tonerdo/coverlet/blob/226455ece9760c72d3d09ca6c377efb8cb61d686/src/coverlet.core/CoverageResult.cs#L164 |
@MarcoRossignoli Created a pull request for this option |
I would also like to request this feature. It would be very valuable for me to have, since my team has specified a minimum test coverage for both lines and branches (with different percentages for each type). |
I would also find this feature very useful. |
closed in #1123 |
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
The text was updated successfully, but these errors were encountered: