github catchorg/Catch2 v3.7.1

2 days ago

Improvements

  • Applied the JUnit reporter's optimization from last release to the SonarQube reporter
  • Suppressed -Wuseless-cast in CHECK_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

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 with SKIP_IS_FAILURE option.

Don't miss a new Catch2 release

NewReleases is sending notifications on new releases.