- Notifications
You must be signed in to change notification settings - Fork13
JSON formatter for SimpleCov code coverage tool for ruby 2.4+
License
codeclimate-community/simplecov_json_formatter
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Note: To learn more about SimpleCov, check out the main repo atSimpleCov
Generates a formatted JSON report of yourSimpleCov ruby code coverage results on ruby 2.4+. Originally intended to addsimplecov
's results reading capacity to CI tools.
You can expect for this gem to produce acoverage.json
file, located at thecoverage
folder.
Depending on yourSimpleCoV
's settings you will experiment different outcomes. Particularly depending on which type of coverage are you runningSimpleCov
with:
- If you configure
SimpleCov
to run withbranch
coverage you should expect an output formatted likesample_with_branch.json - Otherwise you should expect an output formatted likesample.json
We encourage you to use docker for common operations like running tests, or debugging your code. Runningmake sh
will start a new container instance based on theDockerfile
provided at root, finally a shell prompt will be displayed on your terminal. Also, syncronization with your local files will be already set.
make test
will trigger the excution of both running tests and running rubocop as linter, by simply runningrake
, this actions will be run inside a new container but using your local files.
make format
will runrubocop -a
which stands forautocorrect and format your code according to the.rubocop.yml
config file.
SeeLicense
About
JSON formatter for SimpleCov code coverage tool for ruby 2.4+
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Contributors8
Uh oh!
There was an error while loading.Please reload this page.