diff options
| author | Martin Hořeňovský | 2023-01-22 19:43:11 +0100 |
|---|---|---|
| committer | Martin Hořeňovský | 2023-01-22 19:53:12 +0100 |
| commit | c837cb4a8aaa2064f63e67ed0a7f7055dbf159c5 (patch) | |
| tree | 2df4e0575eed9d5555b2992a465c5b69630c6830 /docs | |
| parent | 8359a6b244a26cffabd4440b17fac8b1392815af (diff) | |
| download | catch3-3.3.0.tar.gz | |
v3.3.0v3.3.0
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/matchers.md | 4 | ||||
| -rw-r--r-- | docs/release-notes.md | 30 | ||||
| -rw-r--r-- | docs/skipping-passing-failing.md | 2 |
3 files changed, 34 insertions, 2 deletions
diff --git a/docs/matchers.md b/docs/matchers.md index eba76c84..dda49110 100644 --- a/docs/matchers.md +++ b/docs/matchers.md @@ -195,6 +195,8 @@ These are: * `Message(std::string message)`. * `MessageMatches(Matcher matcher)`. +> `MessageMatches` was [introduced](https://github.com/catchorg/Catch2/pull/2570) in Catch2 3.3.0 + `Message` checks that the exception's message, as returned from `what` is exactly equal to `message`. @@ -238,7 +240,7 @@ definitions to handle generic range-like types. These are: > `All/Any/NoneTrue` were introduced in Catch2 3.1.0 -> `RangeEquals` and `UnorderedRangeEquals` matchers were [introduced](https://github.com/catchorg/Catch2/pull/2377) in Catch2 X.Y.Z +> `RangeEquals` and `UnorderedRangeEquals` matchers were [introduced](https://github.com/catchorg/Catch2/pull/2377) in Catch2 3.3.0 `IsEmpty` should be self-explanatory. It successfully matches objects that are empty according to either `std::empty`, or ADL-found `empty` diff --git a/docs/release-notes.md b/docs/release-notes.md index 7659404b..449ca7f9 100644 --- a/docs/release-notes.md +++ b/docs/release-notes.md @@ -2,6 +2,7 @@ # Release notes **Contents**<br> +[3.3.0](#330)<br> [3.2.1](#321)<br> [3.2.0](#320)<br> [3.1.1](#311)<br> @@ -54,6 +55,35 @@ +## 3.3.0 + +### Improvements + +* Added `MessageMatches` exception matcher (#2570) +* Added `RangeEquals` and `UnorderedRangeEquals` generic range matchers (#2377) +* Added `SKIP` macro for skipping tests from within the test body (#2360) + * All built-in reporters have been extended to handle it properly, whether your custom reporter needs changes depends on how it was written + * `skipTest` reporter event **is unrelated** to this, and has been deprecated since it has practically no uses +* Restored support for PPC Macs in the break-into-debugger functionality (#2619) +* Made our warning suppression compatible with CUDA toolkit pre 11.5 (#2626) +* Cleaned out some static analysis complaints + + +### Fixes + +* Fixed macro redefinition warning when NVCC was reporting as MSVC (#2603) +* Fixed throws in generator constructor causing the whole binary to abort (#2615) + * Now it just fails the test +* Fixed missing transitive include with libstdc++13 (#2611) + + +### Miscellaneous + +* Improved support for dynamic library build with non-MSVC compilers on Windows (#2630) +* When used as a subproject, Catch2 keeps its generated header in a separate directory from the main project (#2604) + + + ## 3.2.1 ### Improvements diff --git a/docs/skipping-passing-failing.md b/docs/skipping-passing-failing.md index 72c9f775..4300d9d3 100644 --- a/docs/skipping-passing-failing.md +++ b/docs/skipping-passing-failing.md @@ -3,7 +3,7 @@ ## Skipping Test Cases at Runtime -> [Introduced](https://github.com/catchorg/Catch2/pull/2360) in Catch2 X.Y.Z. +> [Introduced](https://github.com/catchorg/Catch2/pull/2360) in Catch2 3.3.0. In some situations it may not be possible to meaningfully execute a test case, for example when the system under test is missing certain hardware capabilities. |