Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

JSON formatter for SimpleCov code coverage tool for ruby 2.4+

License

NotificationsYou must be signed in to change notification settings

codeclimate-community/simplecov_json_formatter

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.

Overview

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 configureSimpleCov to run withbranch coverage you should expect an output formatted likesample_with_branch.json
  • Otherwise you should expect an output formatted likesample.json

Development

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.

Tests

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.

Format

make format will runrubocop -a which stands forautocorrect and format your code according to the.rubocop.yml config file.

Copyright

SeeLicense


[8]ページ先頭

©2009-2025 Movatter.jp