diff options
| author | Martin Hořeňovský | 2026-08-25 09:32:22 +0200 |
|---|---|---|
| committer | Martin Hořeňovský | 2026-08-25 09:32:22 +0200 |
| commit | 317ac1ed4c0bb6e6b91eafc817e05c488feffcb3 (patch) | |
| tree | 2c72dfe23f8e2f70092428d820e273e21bd7d457 /docs | |
| parent | fc5bc1fa8b57326b5bc8eaa189b3534b99913d07 (diff) | |
| download | catch3-3.16.0.tar.gz | |
v3.16.0v3.16.0
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/command-line.md | 2 | ||||
| -rw-r--r-- | docs/release-notes.md | 30 |
2 files changed, 31 insertions, 1 deletions
diff --git a/docs/command-line.md b/docs/command-line.md index cbb3449e..41c4ab75 100644 --- a/docs/command-line.md +++ b/docs/command-line.md @@ -208,7 +208,7 @@ hardcoded into Catch2. Currently there are 3 supported options: * ["colour-mode"](#colour-mode) * ["verbosity"](#output-verbosity) -> Support for per-reporter verbosity option was added in Catch2 vX.Y.Z +> Support for per-reporter verbosity option was added in Catch2 3.16.0 _Note that the reporter might still check the X-prefixed options for validity, and throw an error if they are wrong._ diff --git a/docs/release-notes.md b/docs/release-notes.md index 9fafa0cd..bab645de 100644 --- a/docs/release-notes.md +++ b/docs/release-notes.md @@ -2,6 +2,7 @@ # Release notes **Contents**<br> +[3.16.0](#3160)<br> [3.15.3](#3153)<br> [3.15.2](#3152)<br> [3.15.1](#3151)<br> @@ -79,6 +80,35 @@ +## 3.16.0 + +### Fixes +* Multiple fixes in `catch_discover_tests`: + * Fixed `<target>_TESTS` variable accumulating JSON fragments alongside test names. + * This was introduced during the refactoring in last release. + * Fixed `<target>_TESTS` variable from `catch_discover_tests` not escaping test names to be properly parsed by CMake. + * This means that e.g. test names with semicolons will not be split into multiple partial test names. + * This bug has existed since the first version of the script. + * Fixed `TEST_PREFIX`/`TEST_SUFFIX` args having leading/trailing whitespace stripped. +* Added workaround for Clang 20-21 compile error with `TEMPLATE_PRODUCT_TEST_CASE` (#3115, #3173) + +### Improvements +* Verbosity option is now handled per reporter. + * The standalone `--verbosity` flag is propagated to all reporters as default, just like `--colour-mode`. +* The JSON reporter considers verbosity when listing tests. +* Another set of performance improvements for `catch_discover_tests` performance + * The newest version can register about 3k tests in 1 second, up from 1k previously. +* The initial `TEST_CASE` registration is slightly faster. +* Reduced overhead from first instantiating `BENCHMARK` machinery in a TU. +* Improved compilation speed when multiple templated test case macros use the same types. +* Rewrote implementation of the string matchers + * Case-sensitive matching (the default) is significantly faster. + * Case-insensitive matching is faster in most cases. +* Added optimizer barrier to calls into benchmarks without return values + * This limits the optimizations compiler can perform **between calls** into the benchmarked function, improving the accuracy. +* Added warning that checks for using sharding without deterministic test order (#3186) + + ## 3.15.3 ### Fixes |