Skip to content

Commit

Permalink
Add built in reporter info to CLI --quiet option (#6016)
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeMcC399 authored Nov 22, 2024
1 parent 387e2dc commit 80dd7cb
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion docs/app/references/command-line.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ cypress run [options]
| `--parallel` | [Run recorded specs in parallel across multiple machines](#cypress-run-parallel) |
| `--port`,`-p` | [Override default port](#cypress-run-port-lt-port-gt) |
| `--project`, `-P` | [Path to a specific project](#cypress-run-project-lt-project-path-gt) |
| `--quiet`, `-q` | If passed, Cypress output will not be printed to `stdout`. Only output from the configured [Mocha reporter](/app/tooling/reporters) will print. |
| `--quiet`, `-q` | [Reduce output to `stdout`](#cypress-run-quiet) |
| `--record` | [Whether to record the test run](#cypress-run-record-key-lt-record-key-gt) |
| `--reporter`, `-r` | [Specify a Mocha reporter](#cypress-run-reporter-lt-reporter-gt) |
| `--reporter-options`, `-o` | [Specify Mocha reporter options](#cypress-run-reporter-lt-reporter-gt) |
Expand Down Expand Up @@ -434,6 +434,17 @@ To see this in action we've set up an
cypress run --project ./some/nested/folder
```
#### `cypress run --quiet` {#cypress-run-quiet}
To reduce the output from Cypress printed to `stdout`, use
`--quiet`.
```shell
cypress run --quiet
```
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).
#### `cypress run --record --key <record-key>` {#cypress-run-record-key-lt-record-key-gt}
Record your test results to [Cypress Cloud](/cloud/get-started/introduction). For
Expand Down

0 comments on commit 80dd7cb

Please sign in to comment.