mirror of
https://github.com/catchorg/Catch2.git
synced 2025-07-30 18:57:35 +02:00
v3.5.0
This commit is contained in:
@ -84,7 +84,7 @@ and it is also generally repeatable across versions, but we might break
|
||||
it from time to time. E.g. we broke repeatability with previous versions
|
||||
in v2.13.4 so that test cases with similar names are shuffled better.
|
||||
|
||||
Since Catch2 vX.Y.Z the random generators use custom distributions,
|
||||
Since Catch2 3.5.0 the random generators use custom distributions,
|
||||
that should be repeatable across different platforms, with few caveats.
|
||||
For details see the section on random generators in the [Generator
|
||||
documentation](generators.md#random-number-generators-details).
|
||||
|
@ -192,7 +192,7 @@ TEST_CASE("type conversion", "[generators]") {
|
||||
|
||||
### Random number generators: details
|
||||
|
||||
> This section applies from Catch2 vX.Y.Z. Before that, random generators
|
||||
> This section applies from Catch2 3.5.0. Before that, random generators
|
||||
> were a thin wrapper around distributions from `<random>`.
|
||||
|
||||
All of the `random(a, b)` generators in Catch2 currently generate uniformly
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
# Release notes
|
||||
**Contents**<br>
|
||||
[3.5.0](#350)<br>
|
||||
[3.4.0](#340)<br>
|
||||
[3.3.2](#332)<br>
|
||||
[3.3.1](#331)<br>
|
||||
@ -58,6 +59,41 @@
|
||||
|
||||
|
||||
|
||||
## 3.5.0
|
||||
|
||||
### Improvements
|
||||
* Introduced `CATCH_CONFIG_PREFIX_MESSAGES` to prefix only logging macros (#2544)
|
||||
* This means `INFO`, `UNSCOPED_INFO`, `WARN` and `CAPTURE`.
|
||||
* Section hints in static analysis mode are now `const`
|
||||
* This prevents Clang-Tidy from complaining about `misc-const-correctness`.
|
||||
* `from_range` generator supports C arrays and ranges that require ADL (#2737)
|
||||
* Stringification support for `std::optional` now also includes `std::nullopt` (#2740)
|
||||
* The Console reporter flushes output after writing benchmark runtime estimate.
|
||||
* This means that you can immediately see for how long the benchmark is expected to run.
|
||||
* Added workaround to enable compilation with ICC 19.1 (#2551, #2766)
|
||||
* Compiling Catch2 for XBox should work out of the box (#2772)
|
||||
* Catch2 should automatically disable getenv when compiled for XBox.
|
||||
* Compiling Catch2 with exceptions disabled no longer triggers `Wunused-function` (#2726)
|
||||
* **`random` Generators for integral types are now reproducible across different platforms**
|
||||
* Unlike `<rando>`, Catch2's generators also support 1 byte integral types (`char`, `bool`, ...)
|
||||
* **`random` Generators for `float` and `double` are now reproducible across different platforms**
|
||||
* `long double` varies across different platforms too much to be reproducible
|
||||
* This guarantee applies only to platforms with IEEE 754 floats.
|
||||
|
||||
### Fixes
|
||||
* UDL declaration inside Catch2 are now strictly conforming to the standard
|
||||
* `operator "" _a` is UB, `operator ""_a` is fine. Seriously.
|
||||
* Fixed `CAPTURE` tests failing to compile in C++23 mode (#2744)
|
||||
* Fixed missing include in `catch_message.hpp` (#2758)
|
||||
* Fixed `CHECK_ELSE` suppressing failure from uncaught exceptions(#2723)
|
||||
|
||||
### Miscellaneous
|
||||
* The documentation for specifying which tests to run through commandline has been completely rewritten (#2738)
|
||||
* Fixed installation when building Catch2 with meson (#2722, #2742)
|
||||
* Fixed `catch_discover_tests` when using custom reporter and `PRE_TEST` discovery mode (#2747)
|
||||
* `catch_discover_tests` supports multi-config CMake generator in `PRE_TEST` discovery mode (#2739, #2746)
|
||||
|
||||
|
||||
## 3.4.0
|
||||
|
||||
### Improvements
|
||||
|
Reference in New Issue
Block a user