Readme.md in parallel_tests-3.1.0 vs Readme.md in parallel_tests-3.2.0

- old
+ new

@@ -80,10 +80,12 @@ Running things once =================== ```Ruby +require "parallel_tests" + # preparation: # affected by race-condition: first process may boot slower than the second # either sleep a bit or use a lock for example File.lock ParallelTests.first_process? ? do_something : sleep(1) @@ -95,11 +97,10 @@ if ParallelTests.first_process? ParallelTests.wait_for_other_processes_to_finish undo_something end end - ``` Even test group run-times ========================= @@ -256,10 +257,10 @@ - Remove `--loadby` from `.rspec` - Instantly see failures (instead of just a red F) with [rspec-instafail](https://github.com/grosser/rspec-instafail) - Use [rspec-retry](https://github.com/NoRedInk/rspec-retry) (not rspec-rerun) to rerun failed tests. - [JUnit formatter configuration](https://github.com/grosser/parallel_tests/wiki#with-rspec_junit_formatter----by-jgarber) - Use [parallel_split_test](https://github.com/grosser/parallel_split_test) to run multiple scenarios in a single spec file, concurrently. (`parallel_tests` [works at the file-level and intends to stay that way](https://github.com/grosser/parallel_tests/issues/747#issuecomment-580216980)) - + ### Cucumber - Add a `parallel: foo` profile to your `config/cucumber.yml` and it will be used to run parallel tests - [ReportBuilder](https://github.com/rajatthareja/ReportBuilder) can help with combining parallel test results - Supports Cucumber 2.0+ and is actively maintained