Skip to content

Commit

Permalink
CR changes
Browse files Browse the repository at this point in the history
  • Loading branch information
luke-hill committed Aug 11, 2021
1 parent c3cf9d1 commit 8b4e59e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Readme.md
Expand Up @@ -187,17 +187,17 @@ Setup for non-rails
parallel_cucumber
parallel_spinach

- use `ENV['TEST_ENV_NUMBER']` inside your tests to select separate db/memcache/etc. _(Remember to expose this to docker if using compose!)_
-
- use `ENV['TEST_ENV_NUMBER']` inside your tests to select separate db/memcache/etc. (docker compose: expose it)

- Only run a subset of files / folders:

`parallel_test test/bar test/baz/foo_text.rb`

- Pass test-options and files via `--`:

`parallel_rspec -- -t acceptance -f progress -- spec/foo_spec.rb spec/acceptance`

- Pass in any custom cucumber runtime option, by using the -o flag. **NB: You must wrap everything in quotes**:
- Pass in test options, by using the -o flag (wrap everything in quotes):

`parallel_cucumber -n 2 -o '-p foo_profile --tags @only_this_tag or @only_that_tag --format summary'`

Expand Down

0 comments on commit 8b4e59e

Please sign in to comment.