karma coverage average summary
rajjaiswalsaumya opened this issue · 2 comments
rajjaiswalsaumya commented
I need a way to report average of all test coverage. Is there a way to get callback of all coverage to calculate average ?
neutraali commented
Have you tried:
reporters: [
{ type: "text-summary" }
]
rajjaiswalsaumya commented
This does not print average. It prints for each category such as line, branches etc. I need a way to print average coverage from the given category such as (line + branches) / 2 or (line + branches + functions) / 3 or (line + branches + functions + statements) / 4