simplecov_json_formatter icon indicating copy to clipboard operation
simplecov_json_formatter copied to clipboard

Updated Formatter for better metrics

Open shetty-tejas opened this issue 8 months ago • 3 comments

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).

shetty-tejas avatar May 21 '25 12:05 shetty-tejas

@pboling @f-moya Any changes you guys would like me to integrate?

shetty-tejas avatar Jun 29 '25 13:06 shetty-tejas

Ping @f-moya

pboling avatar Jul 16 '25 00:07 pboling

@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.

shetty-tejas avatar Oct 15 '25 09:10 shetty-tejas