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
Cherry-pick doc updates for v2.13.0
- Commit
6efeecc1796f383a88919eacf7487c53f388b7dd- Author
- Martin Hořeňovský ·
- Parents
6b3c563c3838
Changes
docs/command-line.md | 2 +- docs/generators.md | 2 +- docs/release-notes.md | 14 ++++++++++++++ 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/docs/command-line.md b/docs/command-line.md index dd5150eb..a99a1072 100644 --- a/docs/command-line.md +++ b/docs/command-line.md @@ -224,7 +224,7 @@ When set to ```yes``` Catch will report the duration of each test case, in milli <pre>-D, --min-duration <value></pre> -> `--min-duration` was [introduced](https://github.com/catchorg/Catch2/pull/1910) in Catch X.Y.Z +> `--min-duration` was [introduced](https://github.com/catchorg/Catch2/pull/1910) in Catch 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 overriden by both diff --git a/docs/generators.md b/docs/generators.md index 2b5a2183..0f6c7309 100644 --- a/docs/generators.md +++ b/docs/generators.md @@ -92,7 +92,7 @@ TEST_CASE("Complex mix of sections and generates") { } ``` -> The ability to place `GENERATE` between two `SECTION`s was [introduced](https://github.com/catchorg/Catch2/issues/1938) in Catch X.Y.Z. +> The ability to place `GENERATE` between two `SECTION`s was [introduced](https://github.com/catchorg/Catch2/issues/1938) in Catch 2.13.0. ## Provided generators diff --git a/docs/release-notes.md b/docs/release-notes.md index dc1fdb3e..7488012f 100644 --- a/docs/release-notes.md +++ b/docs/release-notes.md @@ -3,6 +3,7 @@ # Release notes **Contents**<br> [3.0.1](#301)<br> +[2.13.0](#2130)<br> [2.12.4](#2124)<br> [2.12.3](#2123)<br> [2.12.2](#2122)<br> @@ -144,6 +145,19 @@ new design. +## 2.13.0 + +### Improvements +* `GENERATE` can now follow a `SECTION` at the same level of nesting (#1938) + * The `SECTION`(s) before the `GENERATE` will not be run multiple times, the following ones will. +* Added `-D`/`--min-duration` command line flag (#1910) + * If a test takes longer to finish than the provided value, its name and duration will be printed. + * This flag is overriden by setting `-d`/`--duration`. + +### Fixes +* `TAPReporter` no longer skips successful assertions (#1983) + + ## 2.12.4 ### Improvements