Catch v2.11.2 Release Notes
Release Date: 2020-03-19 // about 4 years ago-
๐ 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
- E.g.
- โ Colorization of "Test filters" output should be more robust now
--wait-for-keypress
now also acceptsnever
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 forWIN32
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
- โ GCC and Clang now issue warnings for suspicious code in assertions (#1880)