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

summaryrefslogtreecommitdiffhomepage
path: root/docs
diff options
context:
space:
mode:
authorMartin Hořeňovský2024-08-14 12:05:21 +0200
committerMartin Hořeňovský2024-08-14 12:05:21 +0200
commit31588bb4f56b638dd5afc28d3ebff9b9dcefb88d (patch)
treeb5ab431071a20481be60d6faa4c0edf3238b43f9 /docs
parentf24569a1b4af70352d454ca46eb3be45a0ba51ef (diff)
downloadcatch3-3.7.0.tar.gz
v3.7.0v3.7.0
Diffstat (limited to 'docs')
-rw-r--r--docs/release-notes.md21
-rw-r--r--docs/test-fixtures.md2
2 files changed, 22 insertions, 1 deletions
diff --git a/docs/release-notes.md b/docs/release-notes.md
index db40f598..9116a3d4 100644
--- a/docs/release-notes.md
+++ b/docs/release-notes.md
@@ -2,6 +2,7 @@
# Release notes
**Contents**<br>
+[3.7.0](#370)<br>
[3.6.0](#360)<br>
[3.5.4](#354)<br>
[3.5.3](#353)<br>
@@ -63,6 +64,26 @@
[Even Older versions](#even-older-versions)<br>
+## 3.7.0
+
+### improvements
+* Slightly improved compile times of benchmarks
+* Made the resolution estimation in benchmarks slightly more precise
+* Added new test case macro, `TEST_CASE_PERSISTENT_FIXTURE` (#2885, #1602)
+ * Unlike `TEST_CASE_METHOD`, the same underlying instance is used for all partial runs of that test case
+* **MASSIVELY** improved performance of the JUnit reporter when handling successful assertions (#2897)
+ * 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.
+* Reworked how output redirects works.
+ * Combining a reporter writing to stdout with capturing reporter no longer leads to the capturing reporter seeing all of the other reporter's output.
+ * 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.
+
+### Miscellaneous
+* Better documentation for matchers on thrown exceptions (`REQUIRE_THROWS_MATCHES`)
+* Improved `catch_discover_tests`'s handling of environment paths (#2878)
+ * It won't reorder paths in `DL_PATHS` or `DYLD_FRAMEWORK_PATHS` args
+ * It won't overwrite the environment paths for test discovery
+
+
## 3.6.0
### Fixes
diff --git a/docs/test-fixtures.md b/docs/test-fixtures.md
index 6bc115e2..653b50e0 100644
--- a/docs/test-fixtures.md
+++ b/docs/test-fixtures.md
@@ -88,7 +88,7 @@ class.
### 3. `TEST_CASE_PERSISTENT_FIXTURE`
-> [Introduced](https://github.com/catchorg/Catch2/pull/2885) in Catch2 X.Y.Z
+> [Introduced](https://github.com/catchorg/Catch2/pull/2885) in Catch2 3.7.0
`TEST_CASE_PERSISTENT_FIXTURE` behaves in the same way as
[TEST_CASE_METHOD](#1-test_case_method) except that there will only be