From 0809464bf9811c8ab493e944adac53df8d982a89 Mon Sep 17 00:00:00 2001 From: Terje Sandstrom Date: Tue, 24 Feb 2026 19:27:14 +0100 Subject: [PATCH 1/4] Doc for adapter defaulttimeout updated --- docs/articles/vs-test-adapter/Tips-And-Tricks.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/articles/vs-test-adapter/Tips-And-Tricks.md b/docs/articles/vs-test-adapter/Tips-And-Tricks.md index 4a06edfae..4c22862d7 100644 --- a/docs/articles/vs-test-adapter/Tips-And-Tricks.md +++ b/docs/articles/vs-test-adapter/Tips-And-Tricks.md @@ -20,7 +20,7 @@ Certain NUnit Test Adapter settings are configurable using a .runsettings file. | BasePath | string | path | ? | | PrivateBinPath | string | directory1;directory2;etc | ? | | RandomSeed | int | seed integer | random | -| DefaultTimeout | int | timeout in mS, 0 means infinite | 0 | +| DefaultTimeout | int | timeout in mS, 0 means infinite. Not for .net >5.0, error with NUnit 4.5.0 | 0 | | [DefaultTestNamePattern](#defaulttestnamepattern) | string | Pattern for display name | {m}{a} | | [WorkDirectory](#workdirectory) | string | specify directory | Test assembly location | | [TestOutputXml](#testoutputxml) | string | specify directory | Test Result Xml output folder | From 00f973f51adc247c625beb6a6d77f55e28a3b4cb Mon Sep 17 00:00:00 2001 From: Terje Sandstrom Date: Fri, 6 Mar 2026 15:27:28 +0100 Subject: [PATCH 2/4] Release notes for NUnit 4.5.1 --- .../articles/nunit/release-notes/framework.md | 76 ++++++++++++++++++- 1 file changed, 75 insertions(+), 1 deletion(-) diff --git a/docs/articles/nunit/release-notes/framework.md b/docs/articles/nunit/release-notes/framework.md index 805b422c1..51a8e858a 100644 --- a/docs/articles/nunit/release-notes/framework.md +++ b/docs/articles/nunit/release-notes/framework.md @@ -6,7 +6,81 @@ uid: frameworkreleasenotes # Framework Release -## NUnit 4.5.0 - february 18, 2026 +## NUnit 4.5.1 - March 6, 2026 + +This is a patch release for 4.5.0, to fix some regression bugs. + +A few other fixes sneaked into the release though. + +There are 7 issues fixed in this release. + +### Enhancements + +* [5126](https://github.com/nunit/nunit/issues/5126) `ITestResult.TotalCount` does not seem to behave as specified. Thanks to [maettu-this](https://github.com/maettu-this) for [PR 5127](https://github.com/nunit/nunit/pull/5127) + +### Bug fixes + +* [5152](https://github.com/nunit/nunit/issues/5152) Assert of byte with Is.EqualTo().Within().Percent fails unexpectedly. Thanks to NUnit Team member [Steven Weerdenburg](https://github.com/stevenaw) for [PR 5153](https://github.com/nunit/nunit/pull/5153) +* [5137](https://github.com/nunit/nunit/issues/5137) Task Synchronization Issue after upgrading to 4.5.0. +* [5133](https://github.com/nunit/nunit/issues/5133) All tests fail with "TargetFramework doesn't support timeout on tests" when switching from NUnit 4.4 to NUnit 4.5. Thanks to NUnit Team member [Manfred Brands](https://github.com/manfred-brands) for [PR 5140](https://github.com/nunit/nunit/pull/5140) +* [5129](https://github.com/nunit/nunit/issues/5129) Passing `Array` as test parameter fails with 4.5.0. Thanks to NUnit Team member [Terje Sandstrom](https://github.com/OsirisTerje) for [PR 5130](https://github.com/nunit/nunit/pull/5130) +* [4658](https://github.com/nunit/nunit/issues/4658) Apartment attribute ignored when .runsettings contains DefaultTimeout. Thanks to NUnit Team member [Manfred Brands](https://github.com/manfred-brands) for [PR 5140](https://github.com/nunit/nunit/pull/5140) + +### Others + +* [5131](https://github.com/nunit/nunit/issues/5131) Migrate in-memory assembly generation in the tests to run on all runtimes. Thanks to NUnit Team member [Manfred Brands](https://github.com/manfred-brands) for [PR 5142](https://github.com/nunit/nunit/pull/5142) + +### Acknowledgements + +We want to express our heartfelt gratitude to everyone who has contributed to this release +by reporting bugs, suggesting enhancements, and providing valuable feedback. +Your efforts help make NUnit better for the entire community. + +A special thank you to the following reporters for identifying issues: + + + + + + + + + + + + + +
Christoph Berschdd-egJake Meiergerdmaettu-this
michaelmuller12Ralf KobanSteven Weerdenburg
+ +and to the commenters who engaged in discussions and offered further insights: + + + + + + + + + + + + + + + + + + + + + + + + + +
Adrian Frielinghauscursor[bot]dd-egFlorian J„ckel
Jake MeiergerdJir¡ Zapletalmaettu-thisManfred Brands
michaelmuller12Mikkel Nylander BundgaardRichard R.Rob Prouse
SaymonSteven WeerdenburgTerje Sandstrom
+ +## NUnit 4.5.0 - February 18, 2026 This release introduce [Execution Hooks](https://docs.nunit.org/articles/nunit/extending-nunit/Execution-Hooks.html), a finegrained way of hooking into the different stages of a test execution. The documentation describe the way you can make your own hooks to tap into this. There are five stages, and you can hook in both Before and After the stage has run. From 58a4299cd99a614f76e20816a71393be4a67b781 Mon Sep 17 00:00:00 2001 From: Terje Sandstrom Date: Fri, 6 Mar 2026 15:33:00 +0100 Subject: [PATCH 3/4] Update docs/articles/nunit/release-notes/framework.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- docs/articles/nunit/release-notes/framework.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/articles/nunit/release-notes/framework.md b/docs/articles/nunit/release-notes/framework.md index 51a8e858a..f5e2c1eb5 100644 --- a/docs/articles/nunit/release-notes/framework.md +++ b/docs/articles/nunit/release-notes/framework.md @@ -59,7 +59,7 @@ and to the commenters who engaged in discussions and offered further insights: Adrian Frielinghaus cursor[bot] dd-eg -Florian J„ckel +Florian Jäckel Jake Meiergerd From 0d226b1a4fb928bf94533a5ece0ae9899cb9b9eb Mon Sep 17 00:00:00 2001 From: Terje Sandstrom Date: Fri, 6 Mar 2026 15:33:14 +0100 Subject: [PATCH 4/4] Update docs/articles/nunit/release-notes/framework.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- docs/articles/nunit/release-notes/framework.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/articles/nunit/release-notes/framework.md b/docs/articles/nunit/release-notes/framework.md index f5e2c1eb5..4f622f078 100644 --- a/docs/articles/nunit/release-notes/framework.md +++ b/docs/articles/nunit/release-notes/framework.md @@ -63,7 +63,7 @@ and to the commenters who engaged in discussions and offered further insights: Jake Meiergerd -Jir¡ Zapletal +Jiří Zapletal maettu-this Manfred Brands