This gem will add some extra methods to rspec allowing for execution of examples in parallel by passing in an additional option of --parallel-test followed by the number of parallel threads to use. The main concept and differentiator from other gems that allow for parallel execution of rspec tests (such as parallel_tests and prspec) is that this gem ensures that all suite, context and all before and after blocks are run only once while the before and after each blocks are run for each example. Additionally, all output formatters will report to a single output file instead of multiple files so there will be no need for consolidating results at the end of testing
- 2.14.8
- rspec-parallel-2.14.8.x at RubyGems.org
- rspec-parallel-2.14.8.x at GitHub.com
- 3.0.0 (coming soon)
gem build rspec-parallel.gemspec
gem install rspec-parallel-[version].gem
or get from rubygems.org
gem install rspec-parallel
rspec --parallel-test 4 # run from the default 'spec' directory using 4 threads
moved to wiki at Examples
n/a
===================
inspired by rspec-core pull request 1527
Jason Holt Smith
bicarbon8@gmail.com