Fixes
--benchmark-samples 0no 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
DEPRECATEDtoCATCH_DEPRECATEDto avoid conflicts (#3058) - Added
UNSCOPED_CAPTUREmacro (#2954) - Added
ConcatGeneratorto combine multiple separate generator into one- The short form is
cat
- The short form is
- Generators can now jump forward to nth element efficiently
- Custom generators that can jump forward efficiently should override
skipToNthElementImpl
- Custom generators that can jump forward efficiently should override
- 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 InfiniteGeneratorsto error out onGENERATEbeing 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
MapGeneratoronly calls the mapping function if the output will be used