There is a newer version of the record available.

Published February 15, 2026 | Version v3.13.0

catchorg/Catch2: v3.13.0

Description

Fixes

  • --benchmark-samples 0 no longer hard crashes (#3056)
    • The CLI validation fails instead.
  • Fixed warning suppression macros being doubly defined when using Clang on Windows (#3060)

Improvements

  • Suppressed static analysis 26426 diagnostic for MSVC (#3057)
  • Renamed the internal deprecation macro from DEPRECATED to CATCH_DEPRECATED to avoid conflicts (#3058)
  • Added UNSCOPED_CAPTURE macro (#2954)
  • Added ConcatGenerator to combine multiple separate generator into one
    • The short form is cat
  • Generators can now jump forward to nth element efficiently
    • Custom generators that can jump forward efficiently should override skipToNthElementImpl
  • Generators can declare themselves infinite
    • The generator base defaults to declaring itself finite for backwards compatibility
    • Custom generators should override isFinite() to return the proper value
  • Added --warn InfiniteGenerators to error out on GENERATE being given an infinite generator
  • Extended options for section filtering from CLI to include generators
    • The user can specify which element from the generator to use in the test case
    • See documentation for how the new filters work and how they can be specified
  • MapGenerator only calls the mapping function if the output will be used

Files

catchorg/Catch2-v3.13.0.zip

Files (1.5 MB)

Name Size Download all
md5:9a0d7afe9352607c04a40e952dca75f5
1.5 MB Preview Download

Additional details

Related works

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

Software