Cherry-pick doc updates for v2.13.0

This commit is contained in:
Martin Hořeňovský 2020-07-12 20:28:38 +02:00
parent 6b3c563c38
commit 6efeecc179
No known key found for this signature in database
GPG Key ID: DE48307B8B0D381A
3 changed files with 16 additions and 2 deletions

View File

@ -224,7 +224,7 @@ When set to ```yes``` Catch will report the duration of each test case, in milli
<pre>-D, --min-duration &lt;value></pre> <pre>-D, --min-duration &lt;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 When set, Catch will report the duration of each test case that took more
than &lt;value> seconds, in milliseconds. This option is overriden by both than &lt;value> seconds, in milliseconds. This option is overriden by both

View File

@ -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 ## Provided generators

View File

@ -3,6 +3,7 @@
# Release notes # Release notes
**Contents**<br> **Contents**<br>
[3.0.1](#301)<br> [3.0.1](#301)<br>
[2.13.0](#2130)<br>
[2.12.4](#2124)<br> [2.12.4](#2124)<br>
[2.12.3](#2123)<br> [2.12.3](#2123)<br>
[2.12.2](#2122)<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 ## 2.12.4
### Improvements ### Improvements