KnapsackPro / knapsack_pro-ruby

Knapsack Pro gem splits tests across parallel CI nodes and makes sure that tests run in optimal time
https://knapsackpro.com
MIT License
132 stars 27 forks source link
auto-balancing buildkite ci-server circle-ci cucumber minitest parallelism rspec ruby semaphore-ci snap-ci spinach testing-tools travis-ci turnip

knapsack_pro ruby gem

Knapsack Pro

Speed up your tests

Run your 1-hour test suite in 2 minutes with optimal parallelisation on your existing CI infrastructure


Circle CI Gem Version



Knapsack Pro wraps your current test runner(s) and works with your existing CI infrastructure to parallelize tests optimally:

The knapsack_pro gem supports all CIs and the following test runners:

Installation

The Installation Guide will ask you a few questions and generate instruction steps for your project:

Install button

Upgrade

Knapsack Pro follows semantic versioning, but make sure to check the changelog before updating gem with:

bundle update knapsack_pro

Contributing

Testing

RSpec:

bin/test

Scripted tests can be found in the Rails App With Knapsack Pro repository.

Publishing

  1. Move the changes listed in the UNRELEASED section of the CHANGELOG.md to the proper version

  2. Update the gem version in lib/knapsack_pro/version.rb

  3. git commit -am "Bump version x.x.x"

  4. Build, tag, push, release: bundle exec rake release

  5. Update the latest available gem version in TestSuiteClientVersionChecker for the Knapsack Pro API repository.

  6. Update the knapsack_pro gem version in: