diff options
| author | Martin Hořeňovský | 2022-05-10 20:00:36 +0200 |
|---|---|---|
| committer | Martin Hořeňovský | 2022-05-10 20:57:59 +0200 |
| commit | 5a49285e9cf203dd20b00ac7488a6a3233d60fff (patch) | |
| tree | 0a232d7ec81e8f34d37d7fbbe7ccc2f212671eb2 /docs | |
| parent | ae475a3c19e9b770e66ea3a2ce3eaa2debecd4c6 (diff) | |
| download | catch3-5a49285e9cf203dd20b00ac7488a6a3233d60fff.tar.gz | |
Add --list-listeners option
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/command-line.md | 6 | ||||
| -rw-r--r-- | docs/release-notes.md | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/docs/command-line.md b/docs/command-line.md index 2e3db85b..4b9ec7a0 100644 --- a/docs/command-line.md +++ b/docs/command-line.md @@ -59,6 +59,7 @@ Click one of the following links to take you straight to that option - or scroll <a href="#listing-available-tests-tags-or-reporters"> ` --list-tests`</a><br /> <a href="#listing-available-tests-tags-or-reporters"> ` --list-tags`</a><br /> <a href="#listing-available-tests-tags-or-reporters"> ` --list-reporters`</a><br /> +<a href="#listing-available-tests-tags-or-reporters"> ` --list-listeners`</a><br /> <a href="#order"> ` --order`</a><br /> <a href="#rng-seed"> ` --rng-seed`</a><br /> <a href="#libidentify"> ` --libidentify`</a><br /> @@ -200,10 +201,13 @@ Sometimes this results in a flood of failure messages and you'd rather just see --list-tests --list-tags --list-reporters +--list-listeners ``` > The `--list*` options became customizable through reporters in Catch2 X.Y.Z +> The `--list-listeners` option was added in Catch2 X.Y.Z + `--list-tests` lists all registered tests matching specified test spec. Usually this listing also includes tags, and potentially also other information, like source location, based on verbosity and reporter's design. @@ -214,6 +218,8 @@ similar information. `--list-reporters` lists all available reporters and their descriptions. +`--list-listeners` lists all registered listeners and their descriptions. + <a id="sending-output-to-a-file"></a> ## Sending output to a file diff --git a/docs/release-notes.md b/docs/release-notes.md index a342e915..1b0188b4 100644 --- a/docs/release-notes.md +++ b/docs/release-notes.md @@ -192,6 +192,7 @@ v3 releases. * Added a support for Bazel integration with `XML_OUTPUT_FILE` env var (#2399) * This has to be enabled during compilation. * Added `--skip-benchmarks` flag to run tests without any `BENCHMARK`s (#2392, #2408) +* Added option to list all listeners in the binary via `--list-listeners` ### Fixes |