MrKWatkins.Assertions 1.3.2

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package MrKWatkins.Assertions --version 1.3.2
                    
NuGet\Install-Package MrKWatkins.Assertions -Version 1.3.2
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MrKWatkins.Assertions" Version="1.3.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MrKWatkins.Assertions" Version="1.3.2" />
                    
Directory.Packages.props
<PackageReference Include="MrKWatkins.Assertions" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add MrKWatkins.Assertions --version 1.3.2
                    
#r "nuget: MrKWatkins.Assertions, 1.3.2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package MrKWatkins.Assertions@1.3.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=MrKWatkins.Assertions&version=1.3.2
                    
Install as a Cake Addin
#tool nuget:?package=MrKWatkins.Assertions&version=1.3.2
                    
Install as a Cake Tool

MrKWatkins.Assertions

Build Status NuGet Version NuGet Downloads

Assertion library for unit testing.

Why?

FluentAssertions recently moved to a paid licence model with version 8.0. Whilst I don't have a particular problem with that I am slightly annoyed by how they did it. Instead of making a new package they simply upgraded the version number and changed licence. Which means any processes you might have in place to automatically upgrade packages would then upgrade them, and potentially leave you open to licencing costs. And yes, of course you should check your upgrades, blah blah, but I would counter that with you shouldn't change licences on projects like that! Start a new package. Or something else. Whatever. Be better.

Anyway, it annoyed me enough that I thought I'd have a crack at my own version for the challenge, and see if I can fix a few irritations I have with FluentAssertions on the way, such as:

  • No Span support.
  • Default ordering is not strict.

As such this is purely designed for use in my other projects. If you want to use it, go for it, but don't expect me to fix bugs or add features anytime soon.

Contributing, PRs, etc.

Not accepting contributions or PRs at the current time, as it's just a project for my own amusement and to support my other projects. Feel free to submit issues, just don't expect me to look at them with any sense of urgency.

Licence

MIT. And I won't change it. Honest.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on MrKWatkins.Assertions:

Package Downloads
MrKWatkins.OakAsm.Testing

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.4.0 647 2/24/2026
1.3.2 101 2/23/2026
1.3.1 110 2/23/2026
1.3.0 197 2/21/2026
1.2.0 181 2/20/2026
1.1.0 117 2/19/2026
1.0.0 210 2/15/2026
0.0.21 1,129 1/29/2025
0.0.20 130 1/29/2025
0.0.19 156 1/29/2025
0.0.18 156 1/29/2025
0.0.17 156 1/26/2025
0.0.16 157 1/25/2025
0.0.15 155 1/23/2025
0.0.14 152 1/21/2025
0.0.13 140 1/20/2025
0.0.12 168 1/20/2025
0.0.11 148 1/20/2025
0.0.10 146 1/20/2025
0.0.9 154 1/20/2025
Loading failed