Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
README.md | 2024-10-28 | 2.2 kB | |
v5.3.0 source code.tar.gz | 2024-10-28 | 19.7 MB | |
v5.3.0 source code.zip | 2024-10-28 | 20.0 MB | |
Totals: 3 Items | 39.7 MB | 0 |
- [NEW] Introduced
Substitute.ForTypeForwardingTo
to create substitutes that forward interceptable calls to a concrete class. This provides an easy way of implementing a test spy over an existing type. Designed and implemented by @marcoregueira in https://github.com/nsubstitute/NSubstitute/pull/700 from a proposal by @wsaeed. Thanks to all who contributed to discussions of this feature. - [NEW] Support Raise.EventWith default constructor (#788) by @mihnea-radulescu in https://github.com/nsubstitute/NSubstitute/pull/813
- [NEW] Implement When(...).Throws to avoid confusion with Throw method (#803) by @mihnea-radulescu in https://github.com/nsubstitute/NSubstitute/pull/818
- [FIX] Arg.Any<Arg.AnyType>() does not match arguments passed by reference (#787) by @mihnea-radulescu in https://github.com/nsubstitute/NSubstitute/pull/811
- [FIX] Support matching arguments whose type is generic, when their concrete type is not known (#786) by @mihnea-radulescu in https://github.com/nsubstitute/NSubstitute/pull/814
- [FIX] Release build workflow (https://github.com/nsubstitute/NSubstitute/pull/797)
- [DOC] Add Throws for exceptions to the docs by @304NotModified in https://github.com/nsubstitute/NSubstitute/pull/795
- [DOC] Remove Visual Studio for Mac from readme by @Romfos in https://github.com/nsubstitute/NSubstitute/pull/807
- [TECH] Migrate from NUnit 3 to NUnit 4 by @Romfos in https://github.com/nsubstitute/NSubstitute/pull/783
- [TECH] Update build project to .net 8 by @Romfos in https://github.com/nsubstitute/NSubstitute/pull/776
- [TECH] Code style: use C# 12 collection literals by @Romfos in https://github.com/nsubstitute/NSubstitute/pull/810
- [TECH] Use c# 12 primary constructors by @Romfos in https://github.com/nsubstitute/NSubstitute/pull/812
- [TECH] Added csharp_style_prefer_primary_constructors into editorconfig by @Romfos in https://github.com/nsubstitute/NSubstitute/pull/819
Thanks to first-time contributors @mihnea-radulescu and @marcoregueira! Thanks also @304NotModified and @Romfos for their continued support and contributions to this release.
Full Changelog: https://github.com/nsubstitute/NSubstitute/compare/v5.2.0...v5.3.0