diff options
| author | Julia Paluch | 2024-02-02 13:42:32 -0500 |
|---|---|---|
| committer | Martin Hořeňovský | 2024-02-16 21:29:19 +0100 |
| commit | 4f1b24df77610184368a31ce788cca7e94ed0efa (patch) | |
| tree | abb72da8479b5f45a1da72563cc7cd06a1af8bd4 | |
| parent | 3157d6bbf163c8c10534ef6e0d8a834d20b3660a (diff) | |
| download | catch3-4f1b24df77610184368a31ce788cca7e94ed0efa.tar.gz | |
clarify duration unit in docs
| -rw-r--r-- | docs/command-line.md | 4 |
1 files 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. |