-
I have some steps in my CI pipeline that run AltCover to generate a coverage report in OpenCover format. I'd like to add a new step that validates that the percentage is not lower than a certain limit (say, 90%). Is it possible to do this using AltCover (extract the percentage from the report)? |
Beta Was this translation helpful? Give feedback.
Answered by
64J0
Aug 11, 2023
Replies: 1 comment 2 replies
-
I see the |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm considering the values presented in the top level
<Summary/>
, and checking the threshold against all the possibilities:sequenceCoverage
branchCoverage
methodsCoverage = visitedMethods / numMethods
But I'm using a custom script to run this validation, which leverages FSharp.Data to parse the XML report.