Skip to content

Latest commit

 

History

History
48 lines (32 loc) · 1.13 KB

ReadmeRails2.md

File metadata and controls

48 lines (32 loc) · 1.13 KB

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