Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/codeclimate/ruby-test-reporter
DEPRECATED Uploads Ruby test coverage data to Code Climate
https://github.com/codeclimate/ruby-test-reporter
ci code-quality codeclimate continuous-integration coverage-report quality ruby test-coverage
Last synced: 2 days ago
JSON representation
DEPRECATED Uploads Ruby test coverage data to Code Climate
- Host: GitHub
- URL: https://github.com/codeclimate/ruby-test-reporter
- Owner: codeclimate
- License: other
- Created: 2013-06-22T17:31:47.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2023-09-01T13:06:31.000Z (over 1 year ago)
- Last Synced: 2024-10-30T02:30:39.380Z (3 months ago)
- Topics: ci, code-quality, codeclimate, continuous-integration, coverage-report, quality, ruby, test-coverage
- Language: Ruby
- Homepage: https://codeclimate.com
- Size: 2.87 MB
- Stars: 93
- Watchers: 23
- Forks: 92
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# codeclimate-test-reporter - [DEPRECATED]
These configuration instructions refer to a language-specific test reporter who is now deprecated in favor of our new unified test reporter client. The [new test reporter](https://docs.codeclimate.com/v1.0/docs/configuring-test-coverage) 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](https://codeclimate.com/github/codeclimate/ruby-test-reporter/badges/gpa.svg)](https://codeclimate.com/github/codeclimate/ruby-test-reporter)
Posts SimpleCov test coverage data from your Ruby test suite to Code Climate's
hosted, automated code review service.Code Climate - [https://codeclimate.com](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](https://codeclimate.com). Then follow the
instructions on our [documentation site](https://docs.codeclimate.com/docs/test-coverage-ruby).Please contact [email protected] if you need any assistance setting this up.
## Usage
```console
bundle exec rspec && CODECLIMATE_REPO_TOKEN=my_token bundle exec codeclimate-test-reporter
```**Optional**: configure `CODECLIMATE_API_HOST` to point to a self-hosted version of Code Climate.
## Troubleshooting / FYIs
Across the many different testing frameworks, setups, and environments, there
are lots of variables at play. If you're having any trouble with your test
coverage reporting or the results are confusing, please see our full
documentation here: https://docs.codeclimate.com/docs/setting-up-test-coverage## Upgrading from pre-1.0 Versions
Version `1.0` of this gem introduced new, breaking changes to the way the
test reporter is meant to be executed. The following list summarizes the major
differences:See [the changelog entry for v1.0.0](CHANGELOG.md#v100-2016-11-03) for details.
## Contributions
Patches, bug fixes, feature requests, and pull requests are welcome on the
GitHub page for this project:
[https://github.com/codeclimate/ruby-test-reporter](https://github.com/codeclimate/ruby-test-reporter)When making a pull request, please update the [changelog](CHANGELOG.md).
This gem is maintained by Code Climate ([email protected]).
### 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.