Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?


Failed to load latest commit information.
Latest commit message
Commit time

knapsack gem

Knapsack splits tests evenly across parallel CI nodes to run fast CI build and save you time.

knapsack gem knapsack_pro gem
Is free ✓ Yes ✓ Yes, free plan
Regular Mode - a static tests split ✓ Yes ✓ Yes
Queue Mode - a dynamic tests split
(ensures all CI nodes finish work at the same time)
No ✓ Yes
Auto split slow RSpec test file between parallel CI nodes
(a single test file can be auto split by test examples between parallel jobs)
No ✓ Yes
Tracking tests timing per commit, branch No ✓ Yes
Support for other programming languages No ✓ Yes
Support for CI providers limited ✓ Yes
Installation README Install README Install README

Features of knapsack vs knapsack_pro Ruby gem

Do you use Heroku?

Do you know Knapsack Pro Ruby gem is available as Heroku add-on? It works with your current CI server.

Knapsack Pro has Queue Mode that will split Ruby & JS tests in a dynamic way across parallel CI nodes to ensure each parallel job takes a similar time. Thanks to that there is no bottleneck in your CI pipelines.

See introduction how the Knapsack Pro add-on works

You may also find useful article how to run parallel dynos on Heroku CI to complete tests faster

Do you know

  • Knapsack Pro is risk-free integration! Knapsack Pro runs tests in Fallback Mode if your CI servers can't reach our API for any reason.
  • We don't need access to your repository. Knapsack Pro is just wrapper around test runner like RSpec, Cucumber, Minitest etc.
  • Hundreds of developers use Knapsack Pro every day to run fast CI builds.
  • It works with other programming languages.