diff options
| author | Madh93 <mhdez@protonmail.com> | 2018-04-18 22:57:45 +0100 |
|---|---|---|
| committer | Madh93 <mhdez@protonmail.com> | 2018-04-18 22:57:45 +0100 |
| commit | 399dd48d22bab41cdfde36f4244ee1af143fa55c (patch) | |
| tree | 1209fe1857aadae0eacbbb660fccdd72476ff6f4 /src/_rspec | |
| parent | Merge pull request #560 from rspeed/osx-to-macos (diff) | |
| download | zsh-completions-399dd48d22bab41cdfde36f4244ee1af143fa55c.tar zsh-completions-399dd48d22bab41cdfde36f4244ee1af143fa55c.tar.gz zsh-completions-399dd48d22bab41cdfde36f4244ee1af143fa55c.tar.bz2 zsh-completions-399dd48d22bab41cdfde36f4244ee1af143fa55c.tar.lz zsh-completions-399dd48d22bab41cdfde36f4244ee1af143fa55c.tar.xz zsh-completions-399dd48d22bab41cdfde36f4244ee1af143fa55c.tar.zst zsh-completions-399dd48d22bab41cdfde36f4244ee1af143fa55c.zip | |
Add more RSpec completions
Diffstat (limited to 'src/_rspec')
| -rw-r--r-- | src/_rspec | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -48,7 +48,9 @@ _rspec() { '*'{-O,--options}'[Specify the path to a custom options file]:PATH:_files' \ --order'[Run examples by the specified order type]: :->order' \ --seed'[Equivalent of --order rand:SEED]: :_guard "[[\:digit\:]]#" "SEED"' \ + --bisect'[Repeatedly runs the suite in order to isolate the failures to the smallest reproducible case]' \ --only-failures'[Filter to just the examples that failed the last time they ran]' \ + '(-n --next-failure)'{-n,--next-failure}'[Apply `--only-failures` and abort after one failure (equivalent to `--only-failures --fail-fast --order defined`)]' \ --fail-fast'[Abort the run on first failure]' \ --no-fail-fast'[Do not abort the run on first failure]' \ --failure-exit-code'[Override the exit code used when there are failing specs]: :_guard "[[\:digit\:]]#" "CODE"' \ @@ -59,8 +61,10 @@ _rspec() { '(-o --out)'{-o,--out}'[Write output to a file instead of $stdout]:FILE:_files' \ --deprecation-out'[Write deprecation warnings to a file instead of $stderr]:FILE:_files' \ '(-b --backtrace)'{-b,--backtrace}'[Enable full backtrace]' \ - '(-c --color)'{-c,--color}'[Enable color in the output]' \ + --force-color'[Force the output to be in color, even if the output is not a TTY]' \ + --no-color'[Force the output to not be in color, even if the output is a TTY]' \ '(-p --profile)'{-p,--profile}'[Enable profiling of examples and list the slowest examples (default: 10)]: :_guard "[[\:digit\:]]#" "COUNT"' \ + --no-profile'[Disable profiling of examples]' \ '(-w --warnings)'{-w,--warnings}'[Enable ruby warnings]' \ '(-P --pattern)'{-P,--pattern}'[Load files matching pattern (default: "spec/**/*_spec.rb")]:PATTERN:' \ --exclude-pattern'[Load files except those matching pattern]:PATTERN:' \ |
