rpl / flow-coverage-report

Generate flow coverage reports in JSON, HTML and in the console.
MIT License
505 stars 42 forks source link

Support higher coverage threshold precision #163

Closed fbarl closed 6 years ago

fbarl commented 6 years ago

It would be nice to be able to get the coverage in decimal points (e.g. 52.34%) and likewise fix the threshold to a custom precision (e.g. --threshold 52.34).

The use case I have in mind is bigger code bases where 100 lines of code being covered or not would currently result in the same coverage percentage, so there is no fine way to control the threshold.

fbarl commented 6 years ago

Just noticed this has already been addressed in https://github.com/rpl/flow-coverage-report/commit/84ef534b69729234aeea071490f7eb08d63126db, so now it just needs to be released :)

cc @rpl @guyfedwards

fbarl commented 6 years ago

Closing as it's already part of 0.6.0 release.