diff options
author | Stefan <29021710+Saalvage@users.noreply.github.com> | 2021-12-08 18:51:23 +0300 |
---|---|---|
committer | onqtam <vik.kirilov@gmail.com> | 2021-12-11 00:41:29 +0300 |
commit | 41dde10fa9c1423ec016b34899e7b2b30a67970a (patch) | |
tree | 76a489e4f4d2e28c4966574f0136d655754a4477 /doc | |
parent | 9c56555106b3ba9b631e5906d1fbbee73843667d (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.md | 1 |
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``` ```--case-sensitive=<bool>``` | Filters being treated as case sensitive | | ```-e``` ```--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``` ```--duration=<bool>``` | Prints the time each test case took in seconds | +| ```-q``` ```--quiet=<bool>``` | Does not print any output | | ```-nt``` ```--no-throw=<bool>``` | Skips [**exceptions-related assertion**](assertions.md#exceptions) checks | | ```-ne``` ```--no-exitcode=<bool>``` | Always returns a successful exit code - even if a test case has failed | | ```-nr``` ```--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 | |