Catch v2.9.2 Release Notes

Release Date: 2019-08-08 // over 4 years ago
  • ๐Ÿ›  Fixes

    • ChunkGenerator can now be used with chunks of size 0 (#1671)
    • Nested subsections are now run properly when specific section is run via the -c argument (#1670, #1673)
    • ๐Ÿ Catch2 now consistently uses _WIN32 to detect Windows platform (#1676)
    • TEMPLATE_LIST_TEST_CASE now support non-default constructible type lists (#1697)
    • ๐Ÿ›  Fixed a crash in the XMLReporter when a benchmark throws exception during warmup (#1706)
    • ๐Ÿ›  Fixed a possible infinite loop in CompactReporter (#1715)
    • ๐Ÿ›  Fixed -w NoTests returning 0 even when no tests were matched (#1449, #1683, #1684)
    • ๐Ÿ›  Fixed matcher compilation under Obj-C++ (#1661)

    ๐Ÿ‘Œ Improvements

    • ๐Ÿ›  RepeatGenerator and FixedValuesGenerator now fail to compile when used with bool (#1692)
      • Previously they would fail at runtime.
    • ๐ŸŒฒ Catch2 now supports Android's debug logging for its debug output (#1710)
    • ๐Ÿ”ง Catch2 now detects and configures itself for the RTX platform (#1693)
      • You still need to pass --benchmark-no-analysis if you are using benchmarking under RTX
    • โœ‚ Removed a "storage class is not first" warning when compiling Catch2 with PGI compiler (#1717)

    Miscellaneous

    • ๐Ÿ“š Documentation now contains indication when a specific feature was introduced (#1695)
      • These start with Catch2 v2.3.0, (a bit over a year ago).
      • docs/contributing.md has been updated to provide contributors guidance on how to add these to newly written documentation
    • ๐Ÿ“š Various other documentation improvements
      • ToC fixes
      • Documented --order and --rng-seed command line options
      • Benchmarking documentation now clearly states that it requires opt-in
      • Documented CATCH_CONFIG_CPP17_OPTIONAL and CATCH_CONFIG_CPP17_BYTE macros
      • Properly documented built-in vector matchers
      • Improved *_THROWS_MATCHES documentation a bit
    • CMake config file is now arch-independent even if CMAKE_SIZEOF_VOID_P is in CMake cache (#1660)
    • โœ… CatchAddTests now properly escapes [ and ] in test names (#1634, #1698)
    • โช Reverted CatchAddTests adding tags as CTest labels (#1658)
      • The script broke when test names were too long
      • Overwriting LABELS caused trouble for users who set them manually
      • CMake does not let users append to LABELS if the test name has spaces