Collects test coverage data from your Ruby test suite and sends it to Code Climate's hosted, automated code review service. Based on SimpleCov.
Critical or Security advisories for 1.0.0
This version doesn't have any advisory. Want to report one?
Changelog for 1.0.0
Previously, this gem extended
Simplecovwith a custom formatter which posted results to Code Climate. Now, you are responsible for executing
- If you already have the following in your test/testhelper.rb (or spechelper.rb, cucumber env.rb, etc)
ruby require 'codeclimate-test-reporter' CodeClimate::TestReporter.start
then you should replace it with
ruby require 'simplecov' SimpleCov.start
codeclimate-test-reporterautomatically uploaded results at the end of your test suite. Now, you are responsible for running
codeclimate-test-reporteras a separate step in your build.
Previously, this gem added some exclusion rules tuned according to feedback from its users, and now these no longer happen automatically. If you are experiencing a discrepancy in test coverage % after switching to the new gem version, it may be due to missing exclusions. Filtering
testdirectories may fix this issue.
Previously, during the execution of multiple test suites, this gem would send results from the first suite completed. You are now expected to run an executable packaged with this gem as a separate build step, which means that whatever results are there (likely the results from the last suite) will be posted to Code Climate.
Dependencies for 1.0.0
|This version doesn't have runtime dependencies.|
My projects using codeclimate-test-reporter
|You should be logged in to see which of your projects use codeclimate-test-reporter.|