Progmasoft Git

catch3

Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.

Clonegit clone https://git.progmasoft.com/catch3

Add table with verbosity levels (missing --list-listeners) (#2443)

Co-authored-by: Sergio Losilla <sergio.losilla@nt-bnct.com>
Co-authored-by: Martin Hořeňovský <martin.horenovsky@gmail.com>
Commit
231c58a048039fc09d399bdccdfb7c65a1a6ed4a
Author
Sergio Losilla ·
Committer
GitHub
Parents
5efd327dd4a6

Files · Download .tar.gz

Changes

 docs/command-line.md | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/docs/command-line.md b/docs/command-line.md
index 86b06aa0..81e8b959 100644
--- a/docs/command-line.md
+++ b/docs/command-line.md
@@ -220,6 +220,15 @@ similar information.
 
 `--list-listeners` lists all registered listeners and their descriptions.
 
+The [`--verbosity` argument](#output-verbosity) modifies the level of detail provided by the default `--list*` options
+as follows:
+
+| Option             | `normal` (default)              | `quiet`             | `high`                                  |
+|--------------------|---------------------------------|---------------------|-----------------------------------------|
+| `--list-tests`     | Test names and tags             | Test names only     | Same as `normal`, plus source code line |
+| `--list-tags`      | Tags and counts                 | Same as `normal`    | Same as `normal`                        |
+| `--list-reporters` | Reporter names and descriptions | Reporter names only | Same as `normal`                        |
+| `--list-listeners` | Listener names and descriptions | Same as `normal`    | Same as `normal`                        |
 
 <a id="sending-output-to-a-file"></a>
 ## Sending output to a file