v2.11.2
版本发布时间: 2020-03-19 19:42:40
catchorg/Catch2最新发布版本:v3.7.1(2024-09-17 16:50:49)
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
1、 catch.hpp 625.97KB
2、 catch.hpp.asc 819B
3、 catch_reporter_automake.hpp 2.21KB
4、 catch_reporter_automake.hpp.asc 819B
5、 catch_reporter_sonarqube.hpp 7.1KB
6、 catch_reporter_sonarqube.hpp.asc 819B
7、 catch_reporter_tap.hpp 9.61KB
8、 catch_reporter_tap.hpp.asc 819B
9、 catch_reporter_teamcity.hpp 8.7KB
10、 catch_reporter_teamcity.hpp.asc 819B