Picking v2.11.2 docs changes

This commit is contained in:
Martin Hořeňovský 2020-03-19 12:37:51 +01:00
parent 0d8eeec557
commit 08f8a81b2c
No known key found for this signature in database
GPG Key ID: DE48307B8B0D381A
3 changed files with 30 additions and 2 deletions

View File

@ -323,7 +323,7 @@ Instead the user code is only measured and the plain mean from the samples is re
## Specify the amount of time in milliseconds spent on warming up each test ## Specify the amount of time in milliseconds spent on warming up each test
<pre>--benchmark-warmup-time</pre> <pre>--benchmark-warmup-time</pre>
> [Introduced](https://github.com/catchorg/Catch2/pull/1844) in Catch X.Y.Z. > [Introduced](https://github.com/catchorg/Catch2/pull/1844) in Catch 2.11.2.
Configure the amount of time spent warming up each test. Configure the amount of time spent warming up each test.

View File

@ -252,7 +252,7 @@ namespace Catch {
## Overriding Catch's debug break (`-b`) ## Overriding Catch's debug break (`-b`)
> [Introduced](https://github.com/catchorg/Catch2/pull/1846) in Catch X.Y.Z. > [Introduced](https://github.com/catchorg/Catch2/pull/1846) in Catch 2.11.2.
You can override Catch2's break-into-debugger code by defining the You can override Catch2's break-into-debugger code by defining the
`CATCH_BREAK_INTO_DEBUGGER()` macro. This can be used if e.g. Catch2 does `CATCH_BREAK_INTO_DEBUGGER()` macro. This can be used if e.g. Catch2 does

View File

@ -2,6 +2,7 @@
# Release notes # Release notes
**Contents**<br> **Contents**<br>
[2.11.2](#2112)<br>
[2.11.1](#2111)<br> [2.11.1](#2111)<br>
[2.11.0](#2110)<br> [2.11.0](#2110)<br>
[2.10.2](#2102)<br> [2.10.2](#2102)<br>
@ -32,6 +33,7 @@
[Older versions](#older-versions)<br> [Older versions](#older-versions)<br>
[Even Older versions](#even-older-versions)<br> [Even Older versions](#even-older-versions)<br>
## 3.0.0 (in progress) ## 3.0.0 (in progress)
### (Potentially) Breaking changes ### (Potentially) Breaking changes
@ -86,6 +88,32 @@
## 2.11.2
### Improvements
* GCC and Clang now issue warnings for suspicious code in assertions (#1880)
* E.g. `REQUIRE( int != unsigned int )` will now issue mixed signedness comparison warning
* This has always worked on MSVC, but it now also works for GCC and current Clang versions
* Colorization of "Test filters" output should be more robust now
* `--wait-for-keypress` now also accepts `never` as an option (#1866)
* Reporters no longer round-off nanoseconds when reporting benchmarking results (#1876)
* Catch2's debug break now supports iOS while using Thumb instruction set (#1862)
* It is now possible to customize benchmark's warm-up time when running the test binary (#1844)
* `--benchmark-warmup-time {ms}`
* User can now specify how Catch2 should break into debugger (#1846)
### Fixes
* Fixes missing `<random>` include in benchmarking (#1831)
* Fixed missing `<iterator>` include in benchmarking (#1874)
* Hidden test cases are now also tagged with `[!hide]` as per documentation (#1847)
* Detection of whether libc provides `std::nextafter` has been improved (#1854)
* Detection of `wmain` no longer incorrectly looks for `WIN32` macro (#1849)
* Now it just detects Windows platform
* Composing already-composed matchers no longer modifies the partially-composed matcher expression
* This bug has been present for the last ~2 years and nobody reported it
## 2.11.1 ## 2.11.1
### Improvements ### Improvements