Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Run your tests in parallel processes

branch: master

This branch is 0 commits ahead and 0 commits behind master

Octocat-spinner-32 lib ruby 1.9 fix November 18, 2009
Octocat-spinner-32 tasks 3 processes by default now September 21, 2009
Octocat-spinner-32 MIT-LICENSE Initial commit July 15, 2009
Octocat-spinner-32 README Fix the link to parallel_specs November 17, 2009

Tickle spawns multiple processes and tries running your test suite in parallel for reducing the time taken to run them. Thanks to for the concept.


To install :

	$ script/plugin install git://


To run all tests :

	$ rake tickle # This will use 3 processes by default

To run all tests using 2 processes :

	$ rake tickle[2]

To only run unit tests :

	$ rake tickle:units

To run unit tests in 4 parallel processes :
	$ rake tickle:units[4]
tickle:functionals and tickle:integration should work as expected.


For best results, use tickle with Ruby Enterprise Edition and Twitter's GC settings :


Database Setup

If you're NOT USING transactional fixtures, you'll need to create 'N' new databases. Where 'N' is the maximum number of parallel processes you want to run.

Assuming you want to run 2 proccesses, you'll need to provide test_1 and test_2 config settings in database.yml :

  adapter: mysql
  encoding: utf8
  database: myapp_test1
  pool: 5
  username: root
  socket: /tmp/mysql.sock

  adapter: mysql
  encoding: utf8
  database: myapp_test2
  pool: 5
  username: root
  socket: /tmp/mysql.sock

Copyright (c) 2009 Pratik Naik, released under the MIT license
Something went wrong with that request. Please try again.