Skip to content

Commit 31588bb

Browse files
committed
v3.7.0
1 parent f24569a commit 31588bb

9 files changed

+514
-267
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ if (CMAKE_BINARY_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
3333
endif()
3434

3535
project(Catch2
36-
VERSION 3.6.0 # CML version placeholder, don't delete
36+
VERSION 3.7.0 # CML version placeholder, don't delete
3737
LANGUAGES CXX
3838
# HOMEPAGE_URL is not supported until CMake version 3.12, which
3939
# we do not target yet.

docs/release-notes.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
# Release notes
44
**Contents**<br>
5+
[3.7.0](#370)<br>
56
[3.6.0](#360)<br>
67
[3.5.4](#354)<br>
78
[3.5.3](#353)<br>
@@ -63,6 +64,26 @@
6364
[Even Older versions](#even-older-versions)<br>
6465

6566

67+
## 3.7.0
68+
69+
### improvements
70+
* Slightly improved compile times of benchmarks
71+
* Made the resolution estimation in benchmarks slightly more precise
72+
* Added new test case macro, `TEST_CASE_PERSISTENT_FIXTURE` (#2885, #1602)
73+
* Unlike `TEST_CASE_METHOD`, the same underlying instance is used for all partial runs of that test case
74+
* **MASSIVELY** improved performance of the JUnit reporter when handling successful assertions (#2897)
75+
* For 1 test case and 10M assertions, the new reporter runs 3x faster and uses up only 8 MB of memory, while the old one needs 7 GB of memory.
76+
* Reworked how output redirects works.
77+
* Combining a reporter writing to stdout with capturing reporter no longer leads to the capturing reporter seeing all of the other reporter's output.
78+
* The file based redirect no longer opens up a new temporary file for each partial test case run, so it will not run out of temporary files when running many tests in single process.
79+
80+
### Miscellaneous
81+
* Better documentation for matchers on thrown exceptions (`REQUIRE_THROWS_MATCHES`)
82+
* Improved `catch_discover_tests`'s handling of environment paths (#2878)
83+
* It won't reorder paths in `DL_PATHS` or `DYLD_FRAMEWORK_PATHS` args
84+
* It won't overwrite the environment paths for test discovery
85+
86+
6687
## 3.6.0
6788

6889
### Fixes

docs/test-fixtures.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ class.
8888

8989
### 3. `TEST_CASE_PERSISTENT_FIXTURE`
9090

91-
> [Introduced](https://github.com/catchorg/Catch2/pull/2885) in Catch2 X.Y.Z
91+
> [Introduced](https://github.com/catchorg/Catch2/pull/2885) in Catch2 3.7.0
9292

9393
`TEST_CASE_PERSISTENT_FIXTURE` behaves in the same way as
9494
[TEST_CASE_METHOD](#1-test_case_method) except that there will only be

0 commit comments

Comments
 (0)