Skip to content

Is it possible, using only AltCover, to extract the coverage percentage from a generated OpenCover report? #191

Answered by 64J0
64J0 asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@64J0
Comment options

@64J0
Comment options

Answer selected by 64J0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant