New post from my blog...
In case you missed it earlier...
Testing in .NET with xUnit + NSubstitute + Shouldly
https://barretblake.dev/posts/development/2026/04/testing-dotnet/ #testing #dotnet #xunit #nsubstitute #shouldly
New post from my blog...
In case you missed it earlier...
Testing in .NET with xUnit + NSubstitute + Shouldly
https://barretblake.dev/posts/development/2026/04/testing-dotnet/ #testing #dotnet #xunit #nsubstitute #shouldly
New post from my blog...
Testing in .NET with xUnit + NSubstitute + Shouldly
https://barretblake.dev/posts/development/2026/04/testing-dotnet/ #testing #dotnet #xunit #nsubstitute #shouldly
Oh Mann, ich schreibe gerade alles um von FluentAssertions auf Shouldly...
If you are "unhappy" with license changes in FluentAssertions since version v8.0, you can force it to stay on v7.x.
.NET (Core), project file:
<code>
<ItemGroup>
<PackageReference Include="FluentAssertions" Version="[7.0,8.0)" />
</ItemGroup>
</code>
.NET Framework, packages.config:
<code>
<packages>
<package id="FluentAssertions" version="7.0.0" allowedVersions="[7,8)" targetFramework="net48" />
</packages>
</code>
Or just use Shouldly in future projects...
hth