Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/onqtam/doctest.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorStefan <29021710+Saalvage@users.noreply.github.com>2021-12-08 18:51:23 +0300
committeronqtam <vik.kirilov@gmail.com>2021-12-11 00:41:29 +0300
commit41dde10fa9c1423ec016b34899e7b2b30a67970a (patch)
tree76a489e4f4d2e28c4966574f0136d655754a4477 /doc
parent9c56555106b3ba9b631e5906d1fbbee73843667d (diff)
Quiet flag (#561)
* Add quiet flag and ability to set cout from context; Closes #503
Diffstat (limited to 'doc')
-rw-r--r--doc/markdown/commandline.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/markdown/commandline.md b/doc/markdown/commandline.md
index f0ad65d2..97d60b1c 100644
--- a/doc/markdown/commandline.md
+++ b/doc/markdown/commandline.md
@@ -43,6 +43,7 @@ All the options can also be set with code (defaults/overrides) if the user [**su
| ```-cs``` &nbsp; ```--case-sensitive=<bool>``` | Filters being treated as case sensitive |
| ```-e``` &nbsp;&nbsp;&nbsp; ```--exit=<bool>``` | Exits after the tests finish - this is meaningful only when the client has [**provided the ```main()``` entry point**](main.md) - the program should check the ```shouldExit()``` method after calling ```run()``` on a ```doctest::Context``` object and should exit - this is left up to the user. The idea is to be able to execute just the tests in a client program and to not continue with it's execution |
| ```-d``` &nbsp; ```--duration=<bool>``` | Prints the time each test case took in seconds |
+| ```-q``` &nbsp; ```--quiet=<bool>``` | Does not print any output |
| ```-nt``` &nbsp; ```--no-throw=<bool>``` | Skips [**exceptions-related assertion**](assertions.md#exceptions) checks |
| ```-ne``` &nbsp; ```--no-exitcode=<bool>``` | Always returns a successful exit code - even if a test case has failed |
| ```-nr``` &nbsp; ```--no-run=<bool>``` | Skips all runtime **doctest** operations (except the test registering which happens before the program enters ```main()```). This is useful if the testing framework is integrated into a client codebase which has [**provided the ```main()``` entry point**](main.md) and the user wants to skip running the tests and just use the program |