Axiom.Assertions 2.8.0

dotnet add package Axiom.Assertions --version 2.8.0
                    
NuGet\Install-Package Axiom.Assertions -Version 2.8.0
                    
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="Axiom.Assertions" Version="2.8.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Axiom.Assertions" Version="2.8.0" />
                    
Directory.Packages.props
<PackageReference Include="Axiom.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 Axiom.Assertions --version 2.8.0
                    
#r "nuget: Axiom.Assertions, 2.8.0"
                    
#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 Axiom.Assertions@2.8.0
                    
#: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=Axiom.Assertions&version=2.8.0
                    
Install as a Cake Addin
#tool nuget:?package=Axiom.Assertions&version=2.8.0
                    
Install as a Cake Tool

Axiom.Assertions

Axiom.Assertions is the main package for most users.

It gives you Axiom's fluent Should() API for values, strings, collections, dictionaries, exceptions, async code, temporal assertions, and structural equivalency. It also bundles the Axiom analyzers and code fixes in the default install path.

Install

dotnet add package Axiom.Assertions

Use this package when you want

  • the main fluent assertion library for .NET tests
  • deterministic failure output
  • grouped failures with Batch
  • built-in equivalency support
  • bundled analyzers and code fixes

If you are not sure which Axiom package to install, start here.

Install a different package when

  • you only want low-level primitives such as batching, formatting, or configuration: install Axiom.Core
  • you only want the diagnostics and code fixes without runtime assertions: install Axiom.Analyzers
  • you want structural JSON equivalency and simple JSON path assertions: install Axiom.Json on top of Axiom.Assertions
  • you want HttpResponseMessage assertions for exact status codes, headers, content types, JSON bodies, or ProblemDetails responses: install Axiom.Http on top of Axiom.Assertions
  • you want vector, embedding, or retrieval assertions on top of the main package: install Axiom.Vectors

Documentation: spearzy.github.io/Axiom-Assertions Getting started: Getting Started

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  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.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on Axiom.Assertions:

Package Downloads
Axiom.Vectors

Optional extension on top of Axiom.Assertions for vector, embedding, and ranked retrieval assertions in .NET tests.

Axiom.Json

Optional extension on top of Axiom.Assertions for deterministic JSON assertions in .NET tests.

Axiom.Http

Optional extension on top of Axiom.Assertions and Axiom.Json for deterministic HttpResponseMessage assertions in .NET tests.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.8.0 197 5/12/2026
2.7.0 160 5/8/2026
2.6.0 156 5/7/2026
2.5.0 176 5/5/2026
2.4.0 153 5/4/2026
2.3.0 153 4/28/2026
2.2.0 149 4/23/2026
2.1.0 141 4/22/2026
2.0.0 128 4/21/2026
1.9.0 125 4/10/2026
1.8.0 120 4/9/2026
1.7.0 117 4/8/2026
1.6.0 116 4/8/2026
1.5.0 121 4/4/2026
1.4.0 121 4/3/2026
1.3.0 120 4/3/2026
1.2.0 120 4/2/2026
1.1.0 124 4/1/2026
1.0.0 123 3/29/2026
0.10.0 120 3/29/2026
Loading failed