Testmetrics RSpec

The official [RSpec][rspec] 2 & 3 client for Testmetrics. This client collects data about your RSpec test suites after being run in CI and sends that data to Testmetrics so you can gain valuable insights about your test suite.
Usage
Install the gem:
gem install testmetrics_rspec
Use it:
rspec --format TestmetricsRspec
You can use it in combination with other formatters, too:
rspec --format progress --format TestmetricsRspec
In order for the metrics to be send to Testmetrics, you must have your Testmetrics Project Key set in the "TESTMETRICS_PROJECT_KEY" environment variable in your CI environment. If this environment variable isn't set, the collected metrics for your CI run will be discarded. This key should be kept private and not exposed to the public.
Using in your project with Bundler
Add it to your Gemfile if you're using Bundler. Put it in the same groups as rspec.
group :test do
gem "rspec"
gem "testmetrics_rspec"
end
Put the same arguments as the commands above in your .rspec
:
--format TestmetricsRspec
License
TestmetricsRspec
is offered under the MIT license. For the full license
text see LICENSE.