Readme.md in parallel_tests-4.6.0 vs Readme.md in parallel_tests-4.6.1
- old
+ new
@@ -59,21 +59,21 @@
rake parallel:test # Minitest
rake parallel:spec # RSpec
rake parallel:features # Cucumber
rake parallel:features-spinach # Spinach
- rake parallel:test[1] --> force 1 CPU --> 86 seconds
+ rake "parallel:test[1]" --> force 1 CPU --> 86 seconds
rake parallel:test --> got 2 CPUs? --> 47 seconds
rake parallel:test --> got 4 CPUs? --> 26 seconds
...
Test by pattern with Regex (e.g. use one integration server per subfolder / see if you broke any 'user'-related tests)
- rake parallel:test[^test/unit] # every test file in test/unit folder
- rake parallel:test[user] # run users_controller + user_helper + user tests
- rake parallel:test['user|product'] # run user and product related tests
- rake parallel:spec['spec\/(?!features)'] # run RSpec tests except the tests in spec/features
+ rake "parallel:test[^test/unit]" # every test file in test/unit folder
+ rake "parallel:test[user]" # run users_controller + user_helper + user tests
+ rake "parallel:test['user|product']" # run user and product related tests
+ rake "parallel:spec['spec\/(?!features)']" # run RSpec tests except the tests in spec/features
### Example output
2 processes for 210 specs, ~ 105 specs per process
@@ -85,12 +85,12 @@
### Run an arbitrary task in parallel
```Bash
RAILS_ENV=test parallel_test -e "rake my:custom:task"
# or
-rake parallel:rake[my:custom:task]
+rake "parallel:rake[my:custom:task]"
# limited parallelism
-rake parallel:rake[my:custom:task,2]
+rake "parallel:rake[my:custom:task,2]"
```
Running things once
===================