Extend check-total to look beyond statements. It appears, at the moment, check-total only checks against statements and not against lines, functions or branches.
check-total --from coverage/coverage-summary.json --min 80
Expected
Also support
check-total --from coverage/coverage-summary.json --min 80 --functions 63 --branches 53
Which would check against lines, functions and branches as well.
Additionally, if .nycrc is present then it can read the thresholds if not provided on cli.
Extend
check-totalto look beyond statements. It appears, at the moment, check-total only checks against statements and not againstlines, functions or branches.Expected
Also support
Which would check against lines, functions and branches as well.
Additionally, if
.nycrcis present then it can read the thresholds if not provided on cli.