No release in over a year
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.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 1.6
>= 5.0.0
~> 0
>= 0.8
~> 3.0
~> 1.3
>= 0.9.4

Runtime

>= 0
 Project Readme

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. https://elements.heroku.com/addons/knapsack-pro

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 https://youtu.be/rmXES2N0_QU

You may also find useful article how to run parallel dynos on Heroku CI to complete tests faster https://docs.knapsackpro.com/2019/how-to-run-tests-faster-on-heroku-ci-with-parallel-dynos

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.