{"id":14969321,"url":"https://github.com/knapsackpro/knapsack_pro-ruby","last_synced_at":"2025-05-15T03:06:04.254Z","repository":{"id":29831407,"uuid":"33376036","full_name":"KnapsackPro/knapsack_pro-ruby","owner":"KnapsackPro","description":"Knapsack Pro gem splits tests across parallel CI nodes and makes sure that tests run in optimal time","archived":false,"fork":false,"pushed_at":"2025-05-09T09:56:08.000Z","size":1771,"stargazers_count":136,"open_issues_count":8,"forks_count":32,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-05-09T10:11:23.405Z","etag":null,"topics":["auto-balancing","buildkite","ci-server","circle-ci","cucumber","minitest","parallelism","rspec","ruby","semaphore-ci","snap-ci","spinach","testing-tools","travis-ci","turnip"],"latest_commit_sha":null,"homepage":"https://knapsackpro.com","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/KnapsackPro.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2015-04-03T18:09:58.000Z","updated_at":"2025-05-09T09:56:01.000Z","dependencies_parsed_at":"2023-11-07T00:43:43.930Z","dependency_job_id":"c9862e10-952e-4704-ae84-eacff98db35b","html_url":"https://github.com/KnapsackPro/knapsack_pro-ruby","commit_stats":{"total_commits":1702,"total_committers":17,"mean_commits":"100.11764705882354","dds":0.06462984723854293,"last_synced_commit":"1841526dead4563af4ac9cdd1101cad0f1ceeb68"},"previous_names":[],"tags_count":201,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KnapsackPro%2Fknapsack_pro-ruby","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KnapsackPro%2Fknapsack_pro-ruby/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KnapsackPro%2Fknapsack_pro-ruby/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KnapsackPro%2Fknapsack_pro-ruby/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KnapsackPro","download_url":"https://codeload.github.com/KnapsackPro/knapsack_pro-ruby/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254264765,"owners_count":22041793,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["auto-balancing","buildkite","ci-server","circle-ci","cucumber","minitest","parallelism","rspec","ruby","semaphore-ci","snap-ci","spinach","testing-tools","travis-ci","turnip"],"created_at":"2024-09-24T13:41:36.364Z","updated_at":"2025-05-15T03:06:04.234Z","avatar_url":"https://github.com/KnapsackPro.png","language":"Ruby","readme":"# `knapsack_pro` ruby gem\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://knapsackpro.com?utm_source=github\u0026utm_medium=readme\u0026utm_campaign=knapsack_pro-ruby_gem\u0026utm_content=hero_logo\"\u003e\n    \u003cimg alt=\"Knapsack Pro\" src=\"./.github/assets/knapsack-diamonds.png\" width=\"300\" height=\"300\" style=\"max-width: 100%;\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003ch3 align=\"center\"\u003eSpeed up your tests\u003c/h3\u003e\n\u003cp align=\"center\"\u003eRun your 1-hour test suite in 2 minutes with optimal parallelisation on your existing CI infrastructure\u003c/p\u003e\n\n---\n\n\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://circleci.com/gh/KnapsackPro/knapsack_pro-ruby\"\u003e\n    \u003cimg alt=\"Circle CI\" src=\"https://circleci.com/gh/KnapsackPro/knapsack_pro-ruby.svg\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://rubygems.org/gems/knapsack_pro\"\u003e\n    \u003cimg alt=\"Gem Version\" src=\"https://badge.fury.io/rb/knapsack_pro.svg\" /\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n\n\u003cbr /\u003e\n\u003cbr /\u003e\n\nKnapsack Pro wraps your current test runner(s) and works with your existing CI infrastructure to parallelize tests optimally:\n\n- Dynamically splits your tests based on up-to-date test execution data\n- Is designed from the ground up for CI and supports all of them\n- Tracks your CI builds to detect bottlenecks\n- Does not have access to your source code and collects minimal test data (with opt-in encryption)\n- Enables you to export historical metrics about your CI builds\n- Supports out-of-the-box any Ruby test runners, Cypress, Jest (and provides both SDK and API to integrate with any other language)\n- Replaces local dependencies like Redis with an API and runs your tests regardless of network problems\n\nThe `knapsack_pro` gem supports all CIs and the following test runners:\n\n- RSpec\n- Cucumber\n- Minitest\n- test-unit\n- Spinach\n- Turnip\n\n## Installation\n\nThe [Installation Guide](https://docs.knapsackpro.com/knapsack_pro-ruby/guide/?utm_source=github\u0026utm_medium=readme\u0026utm_campaign=knapsack_pro-ruby_gem\u0026utm_content=installation_guide) will ask you a few questions and generate instruction steps for your project:\n\n\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://docs.knapsackpro.com/knapsack_pro-ruby/guide/?utm_source=github\u0026utm_medium=readme\u0026utm_campaign=knapsack_pro-ruby_gem\u0026utm_content=installation_guide\"\u003e\n    \u003cimg alt=\"Install button\" src=\"./.github/assets/install-button.png\" width=\"116\" height=\"50\" /\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n\n## Upgrade\n\nKnapsack Pro follows semantic versioning, but make sure to check the [changelog](CHANGELOG.md) before updating gem with:\n\n```bash\nbundle update knapsack_pro\n```\n\n## Contributing\n\n### Testing\n\nRSpec:\n\n```bash\nbin/test\n```\n\nScripted tests can be found in the [Rails App With Knapsack Pro repository](https://github.com/KnapsackPro/rails-app-with-knapsack_pro/blob/master/bin/knapsack_pro_all.rb).\n\n### Publishing\n\n1. Move the changes listed in the `UNRELEASED` section of the `CHANGELOG.md` to the proper version\n\n2. Update the gem version in `lib/knapsack_pro/version.rb`\n\n3. `git commit -am \"Bump version x.x.x\"`\n\n4. Build, tag, push, release: `bundle exec rake release`\n\n5. Update the latest available gem version in `TestSuiteClientVersionChecker` for the Knapsack Pro API repository.\n\n6. Update the `knapsack_pro` gem version in:\n\n- [Rails App With Knapsack Pro repository](https://github.com/KnapsackPro/rails-app-with-knapsack_pro)\n- Knapsack Pro API internal repository\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknapsackpro%2Fknapsack_pro-ruby","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fknapsackpro%2Fknapsack_pro-ruby","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknapsackpro%2Fknapsack_pro-ruby/lists"}