This gem collects data about your test suite's performance and reliability, and allows you to see trends and insights about your test suite over time โจ
Add the gem to your Gemfile:
group :test do
# ...
gem "rspec-buildkite-analytics"
end
Configure your API key:
RSpec::Buildkite::Analytics.configure(token: "........")
Run bundler to install the gem and update your Gemfile.lock
:
$ bundle
Lastly, commit and push your changes to start analysing your tests:
$ git commit -m "Add Buildkite Test Analytics client"
$ git push
Bug reports and pull requests are welcome on GitHub at https://github.com/buildkite/rspec-buildkite-analytics.
The gem is available as open source under the terms of the MIT License.