Readme.md in parallel_tests-3.7.0 vs Readme.md in parallel_tests-3.7.1
- old
+ new
@@ -180,24 +180,29 @@
Setup for non-rails
===================
gem install parallel_tests
# go to your project dir
- parallel_test test/
- parallel_rspec spec/
- parallel_cucumber features/
- parallel_spinach features/
+ parallel_test
+ parallel_rspec
+ parallel_cucumber
+ parallel_spinach
- - use `ENV['TEST_ENV_NUMBER']` inside your tests to select separate db/memcache/etc.
- - Only run selected files & folders:
+ - 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 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'`
- `parallel_test -- -t acceptance -f progress -- spec/foo_spec.rb spec/acceptance`
-
Options are:
<!-- copy output from bundle exec ./bin/parallel_test -h -->
-n [PROCESSES] How many processes to use, default: available CPUs
-p, --pattern [PATTERN] run tests matching this regex pattern
--exclude-pattern [PATTERN] exclude tests matching this regex pattern
@@ -391,9 +396,10 @@
- [Calaway](https://github.com/calaway)
- [alboyadjian](https://github.com/alboyadjian)
- [Nathan Broadbent](https://github.com/ndbroadbent)
- [Vikram B Kumar](https://github.com/v-kumar)
- [Joshua Pinter](https://github.com/joshuapinter)
+ - [Zach Dennis](https://github.com/zdennis)
[Michael Grosser](http://grosser.it)<br/>
michael@grosser.it<br/>
License: MIT