Skip to content

Commit

Permalink
Highlight availability of ParallelTests module (#773)
Browse files Browse the repository at this point in the history
* Highlight availability of ParallelTests module

Fixes #772

* Add explicit require as a fix instead
  • Loading branch information
PragTob committed Aug 11, 2020
1 parent f3355e5 commit a9ee963
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Readme.md
Expand Up @@ -82,6 +82,8 @@ 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
Expand All @@ -97,7 +99,6 @@ at_exit do
undo_something
end
end

```

Even test group run-times
Expand Down Expand Up @@ -258,7 +259,7 @@ TIPS
- 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
Expand Down

0 comments on commit a9ee963

Please sign in to comment.