v3.7.1
版本发布时间: 2024-09-17 16:50:49
catchorg/Catch2最新发布版本:v3.7.1(2024-09-17 16:50:49)
Improvements
- Applied the JUnit reporter's optimization from last release to the SonarQube reporter
- Suppressed
-Wuseless-cast
inCHECK_THROWS_MATCHES
(#2904) - Standardize exit codes for various failures
- Running no tests is now guaranteed to exit with 2 (without the
--allow-running-no-tests
flag) - All tests skipped is now always 4 (...)
- Assertion failures are now always 42
- and so on
- Running no tests is now guaranteed to exit with 2 (without the
Fixes
- Fixed out-of-bounds access when the arg parser encounters single
-
as an argument (#2905)
Miscellaneous
- Added
catch_config_prefix_messages.hpp
to meson build (#2903) -
catch_discover_tests
now supports skipped tests (#2873)- You can get the old behaviour by calling
catch_discover_tests
withSKIP_IS_FAILURE
option.
- You can get the old behaviour by calling
1、 catch_amalgamated.cpp 412.66KB
2、 catch_amalgamated.cpp.asc 833B
3、 catch_amalgamated.hpp 512.26KB
4、 catch_amalgamated.hpp.asc 833B