Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLeitwolf2026-11-02 00:14:33 +0300
committerGitHub2026-11-02 00:14:33 +0300
commit13324a043042110eba456424fa39c1334857ceaa (patch)
treec52dedf6f10e6ec5344532ff4829a22fc4daa0b7
parentf6f617591cc0a6c4fd2b50999257fe902a339416 (diff)
parenta428c3bf4760f062584ca1d32d4ece6777372f17 (diff)
downloadcatch3-13324a043042110eba456424fa39c1334857ceaa.tar.gz
Merge pull request #33 from Progmasoft/release/catch3-0.3.0.2catch3-0.3.0.2
Release Catch3 0.3.0.2
-rw-r--r--CMakeLists.txt2
-rw-r--r--MODULE.bazel2
-rw-r--r--docs/release-notes.md14
-rw-r--r--extras/catch_amalgamated.cpp6
-rw-r--r--extras/catch_amalgamated.hpp4
-rw-r--r--extras/catch_amalgamated_third_party.hpp4
-rw-r--r--meson.build2
-rw-r--r--src/Progmasoft/Catch3/Version.hpp2
-rw-r--r--xmake.lua2
9 files changed, 26 insertions, 12 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 552da5af..376e47d6 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 5bfb7d5d..df0d8f3c 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 22:03:50.683955
+// Catch3 v0.3.0.2, on the Catch2 v3.16.1 engine
+// Generated: 2026-11-01 23:05:23.688401
// ----------------------------------------------------------
// 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 403d18f6..d6bc26f6 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 22:03:50.587792
+// Catch3 v0.3.0.2, on the Catch2 v3.16.1 engine
+// Generated: 2026-11-01 23:05:23.296246
// ----------------------------------------------------------
// 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 7929d123..5cad151d 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 22:03:50.777818
+// Catch3 v0.3.0.2: yyjson and pugixml for catch_amalgamated.cpp
+// Generated: 2026-11-01 23:05:24.053462
// ----------------------------------------------------------
// 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
diff --git a/xmake.lua b/xmake.lua
index e7686aff..23f5dc85 100644
--- a/xmake.lua
+++ b/xmake.lua
@@ -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")