Readme.md in parallel_tests-3.8.1 vs Readme.md in parallel_tests-3.9.0
- old
+ new
@@ -40,11 +40,11 @@
### Run migrations in additional database(s) (repeat after migrations)
rake parallel:migrate
### Setup environment from scratch (create db and loads schema, useful for CI)
rake parallel:setup
-
+
### Drop all test databases
rake parallel:drop
### Run!
rake parallel:test # Test::Unit
@@ -191,18 +191,18 @@
parallel_spinach
- 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'`
Options are:
<!-- copy output from bundle exec ./bin/parallel_test -h -->
-n [PROCESSES] How many processes to use, default: available CPUs