Readme.md in parallel_tests-0.4.21 vs Readme.md in parallel_tests-0.5.0
- old
+ new
@@ -1,27 +1,26 @@
Speedup Test::Unit + RSpec + Cucumber by running parallel on multiple CPUs (or cores).
Setup for Rails
===============
-
## Install
### Rails 3
+If you use RSpec: ensure you got >= 2.4
+
As gem
- gem install parallel_tests
-
# add to Gemfile
gem "parallel_tests", :group => :development
OR as plugin
- gem install parallel
rails plugin install git://github.com/grosser/parallel_tests.git
# add to Gemfile
gem "parallel", :group => :development
+
### Rails 2
As gem
gem install parallel_tests
@@ -33,10 +32,14 @@
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
## Setup
### 1: Add to `config/database.yml`
test:
@@ -88,11 +91,11 @@
Add to your `spec/parallel_spec.opts` (or `spec/spec.opts`) :
RSpec 1.x:
--format progress
--format ParallelSpecs::SpecRuntimeLogger:tmp/parallel_profile.log
- RSpec >= 2.2:
+ RSpec >= 2.4:
Installed as plugin: -I vendor/plugins/parallel_tests/lib
--format progress
--format ParallelSpecs::SpecRuntimeLogger --out tmp/parallel_profile.log
SpecSummaryLogger
@@ -120,10 +123,10 @@
Add the following to your `spec/parallel_spec.opts` (or `spec/spec.opts`) :
RSpec 1.x:
--format ParallelSpecs::SpecFailuresLogger:tmp/failing_specs.log
- RSpec >= 2.2:
+ RSpec >= 2.4:
--format ParallelSpecs::SpecFailuresLogger --out tmp/failing_specs.log
Setup for non-rails
===================
sudo gem install parallel_tests