Skip to content

Releases: buildkite/test-collector-ruby

v1.1.1

30 Jun 03:41
1e1ec25
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.1.0...v1.1.1

v1.1.0

21 Jun 01:10
25676f8
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.0.1...v1.1.0

v1.0.1

10 Jun 06:41
f96b858
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.0.0...v1.0.1

v1.0.0

10 Jun 06:40
9f4e811
Compare
Choose a tag to compare

🎂

Upgrading to v1.0.0

v1.0.0 contains some breaking changes. It also adds support for Logging.

What's New

This release has breaking changes.

  • We renamed the gem to Buildkite::TestCollector from RSpec::Buildkite::Analytics.
  • Supports Rails >= 5.2, < 8
  • Tokens will be read from ENV["BUILDKITE_ANALYTICS_TOKEN"] automatically. Please set it securely (link to Buildkite for example) on your CI environment.
  • Added Logging support
  • Added Minitest support

Upgrade

  • Change this at your Gemfile

    gem "buildkite-test_collector", "< 2"
  • Make changes described below

  • Run your tests and fix any error

File location changes

Change the require statement of the gem:

- require "rspec/buildkite/analytics"
+ require "buildkite/test_collector"

API Changes

RSpec::Buildkite::Analytics replaced by Buildkite::TestCollector:

Buildkite::TestCollector.configure(hook: :rspec)

and replace all occurrences of RSpec::Buildkite::Analytics.annotate with Buildkite::TestCollector.annotate.

Logging Changes

Logging has been added. By default it emits warning from WARN level. Rails’s default log level is DEBUG in all environments. To silent logs from Buildkite::Collector, set the log level to ERROR.

Buildkite::TestCollector.logger.level = Logger::ERROR

Minitest Support

Buildkite::TestCollector.configure(hook: :minitest)