This gem depends on parallel_tests. Check it's page for installation instructions.

Gem pspec determines optimal processors count ( OPC ) as processors count - 1


Add to your Gemfile inside development group. gem 'pspec'


rake pspec

Runs pspec:prepare and pspec:run consequentially.

rake pspec:full_prepare

Migrates your database, prepares your test database, clones your test database OPC times.

rake pspec:prepare

Clones your test database OPC times.

rake pspec:run

Runs your specs in parallel using OPC processors.