{"id":17557277,"url":"https://github.com/buildkite/test-collector-ruby","last_synced_at":"2026-02-10T06:03:00.002Z","repository":{"id":36958474,"uuid":"334006080","full_name":"buildkite/test-collector-ruby","owner":"buildkite","description":"Buildkite Test Engine collector for Ruby test frameworks","archived":false,"fork":false,"pushed_at":"2026-02-08T23:11:15.000Z","size":556,"stargazers_count":21,"open_issues_count":6,"forks_count":29,"subscribers_count":19,"default_branch":"main","last_synced_at":"2026-02-09T02:56:33.757Z","etag":null,"topics":["buildkite-test-analytics","buildkite-test-engine","minitest","rspec","ruby"],"latest_commit_sha":null,"homepage":"https://buildkite.com/platform/test-engine/","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/buildkite.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-01-29T01:42:33.000Z","updated_at":"2026-01-29T20:37:15.000Z","dependencies_parsed_at":"2023-10-12T05:36:07.898Z","dependency_job_id":"89486fb6-5e4c-4b6e-95b0-7bc4fd0843d6","html_url":"https://github.com/buildkite/test-collector-ruby","commit_stats":{"total_commits":383,"total_committers":33,"mean_commits":"11.606060606060606","dds":0.7597911227154047,"last_synced_commit":"2d641486e42f666dd07ffed4cbf2cd0f9dc97619"},"previous_names":["buildkite/rspec-buildkite-analytics"],"tags_count":49,"template":false,"template_full_name":null,"purl":"pkg:github/buildkite/test-collector-ruby","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildkite%2Ftest-collector-ruby","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildkite%2Ftest-collector-ruby/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildkite%2Ftest-collector-ruby/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildkite%2Ftest-collector-ruby/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/buildkite","download_url":"https://codeload.github.com/buildkite/test-collector-ruby/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildkite%2Ftest-collector-ruby/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29292053,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-10T03:42:42.660Z","status":"ssl_error","status_checked_at":"2026-02-10T03:42:41.897Z","response_time":65,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["buildkite-test-analytics","buildkite-test-engine","minitest","rspec","ruby"],"created_at":"2024-10-21T09:05:30.554Z","updated_at":"2026-02-10T06:02:59.673Z","avatar_url":"https://github.com/buildkite.png","language":"Ruby","readme":"# Buildkite Collectors for Ruby\n\n**DEPRECATION NOTICE**\nVersions prior to 2.1.x are unsupported and will not work after mid-2023. Please upgrade to the latest version.\n\nOfficial [Buildkite Test Engine](https://buildkite.com/platform/test-engine) collectors for Ruby test frameworks ✨\n\n⚒ **Supported test frameworks:** RSpec, Minitest, Cucumber, and [more coming soon](https://github.com/buildkite/test-collector-ruby/issues?q=is%3Aissue+is%3Aopen+label%3A%22test+frameworks%22).\n\n📦 **Supported CI systems:** Buildkite, GitHub Actions, CircleCI, Codeship, and others via the `BUILDKITE_ANALYTICS_*` environment variables.\n\n## 👉 Installing\n\n### Step 1\n\n[Create a test suite](https://buildkite.com/docs/test-analytics), and copy the API token that it gives you.\n\nAdd the [`buildkite-test_collector`](https://rubygems.org/gems/buildkite-test_collector) gem:\n\n```shell\ngem install buildkite-test_collector\n```\n\nOr add this to your Gemfile’s test group:\n\n```ruby\ngroup :test do\n  gem 'buildkite-test_collector'\nend\n```\n\n### Step 2\n\n#### RSpec\n\nAdd the following code to your RSpec setup file:\n\n```ruby\n# spec/spec_helper.rb\nrequire 'buildkite/test_collector'\nBuildkite::TestCollector.configure(hook: :rspec)\n```\n\nRun your tests locally:\n\n```shell\nBUILDKITE_ANALYTICS_TOKEN=xyz rspec\n```\n\n#### Minitest\n\nAdd the following code to your Minitest setup file:\n\n```ruby\n# test/test_helper.rb\nrequire 'buildkite/test_collector'\nBuildkite::TestCollector.configure(hook: :minitest)\n```\n\nRun your tests locally:\n\n```shell\nBUILDKITE_ANALYTICS_TOKEN=xyz rake\n```\n\n#### Cucumber\n\nAdd the following code to your Cucumber setup file:\n\n```ruby\n# features/support/env.rb\nrequire 'buildkite/test_collector'\nBuildkite::TestCollector.configure(hook: :cucumber)\n```\n\nRun your tests locally:\n\n```shell\nBUILDKITE_ANALYTICS_TOKEN=xyz cucumber\n```\n\n### Step 3\n\nAdd the `BUILDKITE_ANALYTICS_TOKEN` secret to your CI, push your changes to a branch, and open a pull request 🎉\n\n\n## More information\n\nFor more use cases such as custom tags, annotations, and span tracking, please visit our [official Ruby collector documentation](https://buildkite.com/docs/test-engine/ruby-collectors) for details.\n\n## ⚒ Developing\n\nAfter cloning the repository, install the dependencies:\n\n```\nbundle\n```\n\nAnd run the tests:\n\n```\nbundle exec rspec\n```\n\nUseful resources for developing collectors include the [Buildkite Test Engine docs](https://buildkite.com/docs/test-engine).\n\nSee [DESIGN.md](DESIGN.md) for an overview of the design of this gem.\n\n## 👩‍💻 Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/buildkite/test-collector-ruby\n\n## 🚀 Releasing\n\n1. Bump the version in `version.rb` and run `bundle` to update the `Gemfile.lock`.\n2. Update the CHANGELOG.md with your new version and a description of your changes.\n3. Once your PR is merged to `main` git tag the merge commit and push:\n\n```\ngit tag vX.X.X\ngit push origin vX.X.X\n```\n4. Visit the [release pipeline](https://buildkite.com/buildkite/test-collector-ruby-release) to unblock it and confirm the new version is pushed to rubygems.org\n5. Create a [new release in github](https://github.com/buildkite/test-collector-ruby/releases).\n\n## 📜 MIT License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuildkite%2Ftest-collector-ruby","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbuildkite%2Ftest-collector-ruby","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuildkite%2Ftest-collector-ruby/lists"}