simplecov_json_formatter
simplecov_json_formatter copied to clipboard
Updated Formatter for better metrics
Re-opened the previous PR: #7.
I was making a Github Actions project for working with SimpleCov. Turns out this being the recommended gem by SimpleCov, didn't have some functionalities I was thinking of adding support for. So added it here in this PR. If you have any thoughts or suggestions do let me know 😄
What's Changed:
- [x] Minimum Coverage Check for file. If fails, the file name and the percent_covered is collected in errors.
- [x] Groups now contain more information such as covered_lines, missed_lines and total_lines.
- [x] Also returns config details like minimum_coverage and minimum_coverage_by_file.
- [x] Total metrics as default (even when groups are not available).
@pboling @f-moya Any changes you guys would like me to integrate?
Ping @f-moya
@f-moya It has been a long time since this PR was raised. Can you check it out please? I think this is a great improvement and should be a part of any new release that would be created.