diff options
| author | Leitwolf | 2026-10-30 00:06:27 +0300 |
|---|---|---|
| committer | GitHub | 2026-10-30 00:06:27 +0300 |
| commit | 471756b77331fa1ab77bc94e6aae228baef903e0 (patch) | |
| tree | 3af5223ff664544d15eaf20a10eccdf3465d9958 /docs/command-line.md | |
| parent | 1d48419b7ef642917ebf7dfd16c3bc1b3050d8f1 (diff) | |
| parent | 0b4b57a0688f2943f4c797c20d68d533cf70fd15 (diff) | |
| download | catch3-471756b77331fa1ab77bc94e6aae228baef903e0.tar.gz | |
Merge pull request #20 from Progmasoft/feature/catch3-json
Read the options of a project from catch3.json
Diffstat (limited to 'docs/command-line.md')
| -rw-r--r-- | docs/command-line.md | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/command-line.md b/docs/command-line.md index 29abc11a..4bd46f3b 100644 --- a/docs/command-line.md +++ b/docs/command-line.md @@ -8,6 +8,7 @@ [How tests behave](#how-tests-behave)<br> [History and analysis](#history-and-analysis)<br> [Output](#output)<br> +[Configuration](#configuration)<br> [Information](#information)<br> [Environment](#environment)<br> @@ -122,6 +123,17 @@ Without a spec, every test runs except hidden ones, whose tags start with | `--premature-exit-guard-file=FILE` | create FILE, private to the user, when the run starts and remove it when the run ends normally | +## Configuration + +A project can keep its options in a [`catch3.json`](progmasoft-runner.md#project-configuration); +options on the command line win over it. + +| Option | | +| --- | --- | +| `--config=FILE` | read this `catch3.json` instead of searching for one | +| `--no-config` | read no `catch3.json` | + + ## Information | Option | | |