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
clarify duration unit in docs
- Commit
4f1b24df77610184368a31ce788cca7e94ed0efa- Author
- Julia Paluch ·
- Committer
- Martin Hořeňovský
- Parents
3157d6bbf163
Changes
docs/command-line.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/command-line.md b/docs/command-line.md index bb483959..7b629c08 100644 --- a/docs/command-line.md +++ b/docs/command-line.md @@ -365,14 +365,14 @@ There are currently two warnings implemented: ## Reporting timings <pre>-d, --durations <yes/no></pre> -When set to ```yes``` Catch will report the duration of each test case, in milliseconds. Note that it does this regardless of whether a test case passes or fails. Note, also, the certain reporters (e.g. Junit) always report test case durations regardless of this option being set or not. +When set to ```yes``` Catch will report the duration of each test case, in seconds with millisecond precision. Note that it does this regardless of whether a test case passes or fails. Note, also, the certain reporters (e.g. Junit) always report test case durations regardless of this option being set or not. <pre>-D, --min-duration <value></pre> > `--min-duration` was [introduced](https://github.com/catchorg/Catch2/pull/1910) in Catch2 2.13.0 When set, Catch will report the duration of each test case that took more -than <value> seconds, in milliseconds. This option is overridden by both +than <value> seconds, in seconds with millisecond precision. This option is overridden by both `-d yes` and `-d no`, so that either all durations are reported, or none are.