diff options
author | Bundlerbot <bot@bundler.io> | 2019-11-29 18:49:53 +0000 |
---|---|---|
committer | Bundlerbot <bot@bundler.io> | 2019-11-29 18:49:53 +0000 |
commit | 8b5bd053b0333c1537f60e2d14a1045234999b8f (patch) | |
tree | f3e9d76c92c17109b230e576804e2db90cf6e03f | |
parent | 8c78566bf25917bd77c5183604c5d34c175eb987 (diff) | |
parent | fb16ffdb10696e7a6726a1dbb33fac3e7f4f8153 (diff) | |
download | bundler-8b5bd053b0333c1537f60e2d14a1045234999b8f.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>
-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 |