Readme.md in parallel_tests-0.7.4 vs Readme.md in parallel_tests-0.8.0

- old
+ new

@@ -117,19 +117,23 @@ - Only run selected files & folders: parallel_test test/bar test/baz/foo_text.rb Options are: - -n [PROCESSES] How many processes to use, default: available CPUs - -p, --path [PATH] run tests inside this path only - --no-sort do not sort files before running them + -p, --pattern [PATTERN] run tests matching this pattern + --group-by group tests by: + found - order of finding files + steps - number of cucumber steps + default - runtime or filesize -m, --multiply-processes [FLOAT] use given number as a multiplier of processes to run + -s, --single [PATTERN] Run all matching files in only one process -e, --exec [COMMAND] execute this code parallel and with ENV['TEST_ENV_NUM'] -o, --test-options '[OPTIONS]' execute test commands with those options - -t, --type [TYPE] test(default) / spec / cucumber + -t, --type [TYPE] test(default) / rspec / cucumber --non-parallel execute same commands but do not in parallel, needs --exec + --chunk-timeout [TIMEOUT] timeout before re-printing the output of a child-process -v, --version Show Version -h, --help Show this. You can run any kind of code in parallel with -e / --execute @@ -149,10 +153,10 @@ TIPS ==== - [Capybara + Selenium] add to env.rb: `Capybara.server_port = 8888 + ENV['TEST_ENV_NUMBER'].to_i` - [RSpec] add a `.rspec_parallel` to use different options, e.g. **no --drb** - [RSpec] delete `script/spec` - - [RSpec] [spork](https://github.com/sporkrb/spork) does not work in parallel + - [[Spork](https://github.com/sporkrb/spork)] does not work with parallel_tests - [RSpec] remove --loadby from you spec/*.opts - [RSpec] Instantly see failures (instead of just a red F) with [rspec-instafail](https://github.com/grosser/rspec-instafail) - [Bundler] if you have a `Gemfile` then `bundle exec` will be used to run tests - [Cucumber] add a `parallel: foo` profile to your `config/cucumber.yml` and it will be used to run parallel tests - [Capybara setup](https://github.com/grosser/parallel_tests/wiki)