Skip to content
Michael Grosser edited this page Feb 23, 2015 · 1 revision

Install

As gem

gem install parallel_tests

# add to config/environments/development.rb
config.gem "parallel_tests"

# add to Rakefile
begin; require 'parallel_tests/tasks'; rescue LoadError; end

OR as plugin

gem install parallel

# add to config/environments/development.rb
config.gem "parallel"

./script/plugin install git://github.com/grosser/parallel_tests.git

# add to Rakefile
begin; require 'vendor/plugins/parallel_tests/lib/parallel_tests/tasks'; rescue LoadError; end

Even process runtimes

RSpec 1.x:
  --format progress
  --require parallel_tests/rspec/runtime_logger
  --format ParallelTests::RSpec::RuntimeLogger:tmp/parallel_runtime_rspec.log

SpecSummaryLogger

RSpec 1.x:
  --format progress
  --require parallel_tests/rspec/summary_logger
  --format ParallelTests::RSpec::SummaryLogger:tmp/spec_summary.log

SpecFailuresLogger

RSpec 1.x:
  --format progress
  --require parallel_tests/rspec/failures_logger
  --format ParallelTests::RSpec::FailuresLogger:tmp/failing_specs.log

( ͡° ͜ʖ ͡°) ¯_(ツ)_/¯

Clone this wiki locally