diff options
author | Bundlerbot <bot@bundler.io> | 2019-11-29 18:49:53 +0000 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-12-13 20:07:19 +0100 |
commit | 937fc2006d74cec3ff48ea312cdcc89a3a2f38a7 (patch) | |
tree | 5ae894702f4c0ffaeab2b10155718704af32ec07 | |
parent | a2c2d3c5c55e4ed128ec8728c177d639213ecbe8 (diff) | |
download | bundler-937fc2006d74cec3ff48ea312cdcc89a3a2f38a7.tar.gz |
Merge #7461
7461: Set parallel_tests to output progress in the same format as regular RSpec r=deivid-rodriguez a=colby-swandale
# What was the end-user problem that led to this PR?
When running tests using the `parallel_test` tool, there will be no output on the terminal to show the progress or result of the test suit.
```
$ ./bin/parallel_rspec spec
8 processes for 162 specs, ~ 20 specs per process
Took 576 seconds (9:36)
```
You have to go diving into a file that's located in `tmp/parallel_runtime_rspec.log`.
It would be better to have the output that we get from the regular `./bin/rspec` and show the progress/result of the test suit.
### What was your diagnosis of the problem?
Run the parallel test suit using `./bin/parallel_rspec spec`
### What is your fix for the problem, implemented in this PR?
Add the additional `progress` formatter to the parallel rspec configuration
Co-authored-by: Colby Swandale <me@colby.fyi>
(cherry picked from commit 8b5bd053b0333c1537f60e2d14a1045234999b8f)
-rw-r--r-- | .rspec_parallel | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.rspec_parallel b/.rspec_parallel index 8b7ea4229b..6989221a44 100644 --- a/.rspec_parallel +++ b/.rspec_parallel @@ -1,3 +1,4 @@ +--format progress --format ParallelTests::RSpec::RuntimeLogger --out tmp/parallel_runtime_rspec.log --require spec_helper --require support/parallel.rb |