diff options
| author | Leitwolf11 | 2026-11-01 21:42:34 +0300 |
|---|---|---|
| committer | Leitwolf11 | 2026-11-01 21:42:34 +0300 |
| commit | e1b0a9d000645b5e914f00603983df16167bd053 (patch) | |
| tree | 69903866f981b1c0a6cafda0b263d8db1721495a | |
| parent | 5cbd481125b881a4c2eed74050be9899eb3f23a7 (diff) | |
| download | catch3-e1b0a9d000645b5e914f00603983df16167bd053.tar.gz | |
Release Catch3 0.3.0.2
| -rw-r--r-- | CMakeLists.txt | 2 | ||||
| -rw-r--r-- | MODULE.bazel | 2 | ||||
| -rw-r--r-- | docs/release-notes.md | 14 | ||||
| -rw-r--r-- | extras/catch_amalgamated.cpp | 6 | ||||
| -rw-r--r-- | extras/catch_amalgamated.hpp | 4 | ||||
| -rw-r--r-- | extras/catch_amalgamated_third_party.hpp | 4 | ||||
| -rw-r--r-- | meson.build | 2 | ||||
| -rw-r--r-- | src/Progmasoft/Catch3/Version.hpp | 2 | ||||
| -rw-r--r-- | xmake.lua | 2 |
9 files changed, 26 insertions, 12 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 6806acf0..dda13783 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -37,7 +37,7 @@ endif() # The version is Catch3's; the Catch2 engine it is built on keeps its own in # CATCH_VERSION_MAJOR and the other macros of Progmasoft/Catch3/EngineVersionMacros.hpp. project(Catch3 - VERSION 0.3.0.1 + VERSION 0.3.0.2 LANGUAGES CXX HOMEPAGE_URL "https://github.com/Progmasoft/catch3" DESCRIPTION "A C++ test framework with a Catch2-compatible API, a parallel runner, property testing and snapshots." diff --git a/MODULE.bazel b/MODULE.bazel index 9e0fc89d..f8069a79 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -1,4 +1,4 @@ -module(name = "catch3", version = "0.3.0.1") +module(name = "catch3", version = "0.3.0.2") bazel_dep(name = "bazel_skylib", version = "1.9.0") bazel_dep(name = "rules_cc", version = "0.2.17") diff --git a/docs/release-notes.md b/docs/release-notes.md index c7cf145c..4e2dea80 100644 --- a/docs/release-notes.md +++ b/docs/release-notes.md @@ -7,12 +7,26 @@ based on Catch2 3.16.1; Catch2's own history is in [its release notes](https://github.com/catchorg/Catch2/blob/devel/docs/release-notes.md). **Contents**<br> +[0.3.0.2](#0302)<br> [0.3.0.1](#0301)<br> [0.3.0](#030)<br> [0.2.0](#020)<br> [0.1.0](#010)<br> +## 0.3.0.2 + +Released 2026-11-01. + +### Mocks + +* `<Progmasoft/Catch3/Mock.hpp>` adds mocks of virtual interfaces and of free + functions behind a seam: `CATCH3_MOCK_METHOD`, `CATCH3_EXPECT_CALL`, + `Sequence` and `ScopedSeam`. Expectations check call counts, arguments and + order, and failures go through the same assertions as the rest of a test. + See [Mocking](progmasoft-mocking.md#top). + + ## 0.3.0.1 Released 2026-11-01. diff --git a/extras/catch_amalgamated.cpp b/extras/catch_amalgamated.cpp index fb73d0b2..90c57a65 100644 --- a/extras/catch_amalgamated.cpp +++ b/extras/catch_amalgamated.cpp @@ -6,8 +6,8 @@ // SPDX-License-Identifier: BSL-1.0 -// Catch3 v0.3.0.1, on the Catch2 v3.16.1 engine -// Generated: 2026-11-01 20:05:03.089807 +// Catch3 v0.3.0.2, on the Catch2 v3.16.1 engine +// Generated: 2026-11-01 21:41:33.806849 // ---------------------------------------------------------- // This file is an amalgamation of multiple different files. // You probably shouldn't edit it directly. @@ -2294,7 +2294,7 @@ namespace Progmasoft::Catch3 namespace Progmasoft::Catch3 { /// The version of Catch3: of its runner, its tools and its formats. - inline constexpr const char *kVersion = "0.3.0.1"; + inline constexpr const char *kVersion = "0.3.0.2"; } // namespace Progmasoft::Catch3 // Copyright (c) 2026 Progmasoft. // SPDX-License-Identifier: MPL-2.0 WITH AdditionRef-Progmasoft-Exception-2.0 diff --git a/extras/catch_amalgamated.hpp b/extras/catch_amalgamated.hpp index 2572e065..93aaa5f0 100644 --- a/extras/catch_amalgamated.hpp +++ b/extras/catch_amalgamated.hpp @@ -6,8 +6,8 @@ // SPDX-License-Identifier: BSL-1.0 -// Catch3 v0.3.0.1, on the Catch2 v3.16.1 engine -// Generated: 2026-11-01 20:05:02.974375 +// Catch3 v0.3.0.2, on the Catch2 v3.16.1 engine +// Generated: 2026-11-01 21:41:33.694381 // ---------------------------------------------------------- // This file is an amalgamation of multiple different files. // You probably shouldn't edit it directly. diff --git a/extras/catch_amalgamated_third_party.hpp b/extras/catch_amalgamated_third_party.hpp index 77980d07..2778254a 100644 --- a/extras/catch_amalgamated_third_party.hpp +++ b/extras/catch_amalgamated_third_party.hpp @@ -1,5 +1,5 @@ -// Catch3 v0.3.0.1: yyjson and pugixml for catch_amalgamated.cpp -// Generated: 2026-11-01 20:05:03.275425 +// Catch3 v0.3.0.2: yyjson and pugixml for catch_amalgamated.cpp +// Generated: 2026-11-01 21:41:33.944423 // ---------------------------------------------------------- // This file is an amalgamation of src/Progmasoft/Runner/Yyjson.inl, // src/Progmasoft/PugiXml.inl and the libraries they include from diff --git a/meson.build b/meson.build index 3c396fbb..1c3699e9 100644 --- a/meson.build +++ b/meson.build @@ -8,7 +8,7 @@ project( 'catch3', 'cpp', - version: '0.3.0.1', + version: '0.3.0.2', license: ['BSL-1.0', 'MPL-2.0 WITH AdditionRef-Progmasoft-Exception-2.0'], # Meson 1.1 added clang-cl support for the C++ modes used by Progmasoft tests. meson_version: '>=1.1.0', diff --git a/src/Progmasoft/Catch3/Version.hpp b/src/Progmasoft/Catch3/Version.hpp index 14a3e76e..e83874f3 100644 --- a/src/Progmasoft/Catch3/Version.hpp +++ b/src/Progmasoft/Catch3/Version.hpp @@ -5,5 +5,5 @@ namespace Progmasoft::Catch3 { /// The version of Catch3: of its runner, its tools and its formats. - inline constexpr const char *kVersion = "0.3.0.1"; + inline constexpr const char *kVersion = "0.3.0.2"; } // namespace Progmasoft::Catch3 @@ -2,7 +2,7 @@ -- SPDX-License-Identifier: MPL-2.0 WITH AdditionRef-Progmasoft-Exception-2.0 set_project("Catch3") -set_version("0.3.0.1") +set_version("0.3.0.2") set_languages("cxx17") set_warnings("all") |