-
Notifications
You must be signed in to change notification settings - Fork 249
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for simplecov-json in simplecov parser (#1475)
Some customers are reported to be using simeplcov-json gem to generate coverage report, which generates it differently from the current and legacy simplecov format that we current support, this PR adds support for simplecov-json format. https://github.com/vicentllongo/simplecov-json
- Loading branch information
1 parent
fbac150
commit bcef508
Showing
2 changed files
with
157 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
{ | ||
"timestamp": 1738692160, | ||
"command_name": "RSpec", | ||
"files": [ | ||
{ | ||
"filename": "app/controllers/base_controller.rb", | ||
"coverage": [ | ||
1, | ||
1, | ||
1, | ||
1, | ||
null, | ||
1, | ||
null, | ||
1, | ||
null, | ||
1, | ||
null, | ||
1, | ||
null, | ||
0, | ||
null, | ||
0, | ||
26, | ||
null, | ||
null, | ||
1, | ||
20, | ||
null, | ||
null, | ||
null | ||
] | ||
}, | ||
{ | ||
"filename": "app/controllers/sample_controller.rb", | ||
"coverage": [ | ||
1, | ||
1, | ||
1, | ||
null, | ||
1, | ||
0, | ||
0, | ||
0, | ||
null, | ||
null, | ||
1, | ||
null, | ||
1, | ||
1, | ||
null, | ||
null, | ||
1, | ||
1, | ||
null, | ||
null, | ||
null | ||
] | ||
} | ||
] | ||
} |