Skip to content

Commit 80dd7cb

Browse files
authored
Add built in reporter info to CLI --quiet option (#6016)
1 parent 387e2dc commit 80dd7cb

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

docs/app/references/command-line.mdx

+12-1
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ cypress run [options]
204204
| `--parallel` | [Run recorded specs in parallel across multiple machines](#cypress-run-parallel) |
205205
| `--port`,`-p` | [Override default port](#cypress-run-port-lt-port-gt) |
206206
| `--project`, `-P` | [Path to a specific project](#cypress-run-project-lt-project-path-gt) |
207-
| `--quiet`, `-q` | If passed, Cypress output will not be printed to `stdout`. Only output from the configured [Mocha reporter](/app/tooling/reporters) will print. |
207+
| `--quiet`, `-q` | [Reduce output to `stdout`](#cypress-run-quiet) |
208208
| `--record` | [Whether to record the test run](#cypress-run-record-key-lt-record-key-gt) |
209209
| `--reporter`, `-r` | [Specify a Mocha reporter](#cypress-run-reporter-lt-reporter-gt) |
210210
| `--reporter-options`, `-o` | [Specify Mocha reporter options](#cypress-run-reporter-lt-reporter-gt) |
@@ -434,6 +434,17 @@ To see this in action we've set up an
434434
cypress run --project ./some/nested/folder
435435
```
436436
437+
#### `cypress run --quiet` {#cypress-run-quiet}
438+
439+
To reduce the output from Cypress printed to `stdout`, use
440+
`--quiet`.
441+
442+
```shell
443+
cypress run --quiet
444+
```
445+
446+
If passed, Cypress will only print output to `stdout` from the [built-in](/app/tooling/reporters#Built-in-reporters) default [Mocha spec reporter](https://mochajs.org/#spec), or from any other configured [Mocha reporter](/app/tooling/reporters).
447+
437448
#### `cypress run --record --key <record-key>` {#cypress-run-record-key-lt-record-key-gt}
438449
439450
Record your test results to [Cypress Cloud](/cloud/get-started/introduction). For

0 commit comments

Comments
 (0)