Published July 26, 2026 | Version v3.15.3

catchorg/Catch2: v3.15.3

Description

Fixes

  • The JSON reporter's number handling is locale-independent. (#3176)
  • Removed leftover debug message from catch_discover_tests (#3177)
  • Fixed typo in the "Could not jump to the Nth element" exception message (#3181)

Improvements

  • catch_discover_tests registers tests in deterministic (alphabetical) order.
  • catch_discover_tests has been rewritten to be massively faster.
    • Preparing the actual CTest script is significantly faster.
    • Parsing the JSON test array is significantly faster.
    • Running without ADD_TAGS_AS_LABELS set is 10-15% faster (as opposed to being the same speed) (#3169)
    • The new implementation is about 4x-5x faster, so registering 500 tests now takes ~350ms (down from 1.1s).
  • JSON writing is faster
    • Small improvement in writing non-string values
    • ~6-40% improvement in writing string values that do not need escaping
    • ~1-6% improvement in writing string values that do need escaping
  • Better support for infs and NaNs in JSON output

Files

catchorg/Catch2-v3.15.3.zip

Files (1.5 MB)

Name Size Download all
md5:c980f816fc937ab2162731778c30d077
1.5 MB Preview Download

Additional details

Related works

Is supplement to
Software: https://github.com/catchorg/Catch2/tree/v3.15.3 (URL)

Software