Parallel tests across CI server nodes based on each test file's time execution. It generates a test time execution report and uses it for future test runs.


Keywords
auto-balancing, buildkite, ci-server, circle-ci, cucumber, minitest, parallelism, rspec, ruby, semaphore-ci, snap-ci, spinach, testing-tools, travis-ci, turnip
License
MIT
Install
gem install knapsack -v 1.4.0

Documentation

Knapsack

Knapsack

Speed up your tests

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




Knapsack wraps your current test runner and works with your existing CI infrastructure to split tests optimally.

It comes in two flavors, knapsack and knapsack_pro:

knapsack knapsack_pro
Free Free plan
Static split
Dynamic split
Split by test examples
Graphs, metrics, and stats
Programming languages 🤞 (Ruby) ✅ (Ruby, Cypress, Jest, SDK/API)
CI providers 🤞 Limited ✅ (All)
Heroku add-on
Additional features 🤘 (Overview)
Install Install

knapsack vs knapsack_pro full comparison

Migrate from knapsack to knapsack_pro

If you are already using knapsack and want to give knapsack_pro a try, here's how to migrate in 10 minutes.