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
This repository was archived by the owner on Jul 19, 2025. It is now read-only.

DEPRECATED Uploads Ruby test coverage data to Code Climate

License

NotificationsYou must be signed in to change notification settings

codeclimate/ruby-test-reporter

Repository files navigation

These configuration instructions refer to a language-specific test reporter who is now deprecated in favor of our new unified test reporter client. Thenew test reporter is faster, distributed as a static binary, has support for parallelized CI builds, and will receive ongoing support by the team here. The existing test reporters for Ruby, Python, PHP, and Javascript are now deprecated.

Code Climate

Posts SimpleCov test coverage data from your Ruby test suite to Code Climate'shosted, automated code review service.

Code Climate -https://codeclimate.com

Installation

This gem requires a user, but not necessarily a paid account, on Code Climate,so if you don't have one the first step is to signup at:https://codeclimate.com. Then follow theinstructions on ourdocumentation site.

Please contacthello@codeclimate.com if you need any assistance setting this up.

Usage

bundle exec rspec && CODECLIMATE_REPO_TOKEN=my_token bundle exec codeclimate-test-reporter

Optional: configureCODECLIMATE_API_HOST to point to a self-hosted version of Code Climate.

Troubleshooting / FYIs

Across the many different testing frameworks, setups, and environments, thereare lots of variables at play. If you're having any trouble with your testcoverage reporting or the results are confusing, please see our fulldocumentation here:https://docs.codeclimate.com/docs/setting-up-test-coverage

Upgrading from pre-1.0 Versions

Version1.0 of this gem introduced new, breaking changes to the way thetest reporter is meant to be executed. The following list summarizes the majordifferences:

Seethe changelog entry for v1.0.0 for details.

Contributions

Patches, bug fixes, feature requests, and pull requests are welcome on theGitHub page for this project:https://github.com/codeclimate/ruby-test-reporter

When making a pull request, please update thechangelog.

This gem is maintained by Code Climate (hello@codeclimate.com).

Release Process

  • Update the changelog to mark the unreleased changes as part of the new release.
  • Update the version.rb with the new version number
  • Make a pull request with those changes
  • Merge those changes to master
  • Check out and pull down the latest master locally
  • rake release which will
    • tag the latest commit based on version.rb
    • push to github
    • push to rubygems

Copyright

See LICENSE.txt

Portions of the implementation were inspired by the coveralls-ruby gem.

Packages

No packages published

Contributors48


[8]ページ先頭

©2009-2025 Movatter.jp