Nullean.Snapshots.AwesomeAssertions 0.12.1

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

Nullean.Snapshots.AwesomeAssertions

snapshots.

Text snapshot assertions for AwesomeAssertions, value.Should().MatchSnapshot() and MatchInlineSnapshot(), and the building blocks the HTML, JSON and YAML packages use. Part of Nullean.Snapshots, structural snapshot tests for .NET.

NuGet

Install

dotnet add package Nullean.Snapshots.AwesomeAssertions

Quick start

The extensions live in the Nullean.Snapshots namespace:

using AwesomeAssertions;
using Nullean.Snapshots;

public class ReportTests
{
	[Test]
	public void Renders()
	{
		var report = Report.Render();
		report.Should().MatchSnapshot();                     // .verified.txt, compared line by line
		Report.Header().Should().MatchSnapshot(name: "header"); // a second snapshot in the same test
	}

	[Test]
	public void Totals() =>
		Report.Totals().Should().MatchInlineSnapshot("""
			2 x beats
			1 x kibana
			""");
}

Leave out the inline snapshot's expected value for a new one; snap accept writes it into the test.

For structured output prefer Nullean.Snapshots.Json or Nullean.Snapshots.Yaml, which compare as trees, not lines. Add Nullean.Snapshots.TUnit so every case of a data-driven test gets its own file.

Learn more

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.

NuGet packages (6)

Showing the top 5 NuGet packages that depend on Nullean.Snapshots.AwesomeAssertions:

Package Downloads
Nullean.Snapshots.Html

HTML snapshots and inline HTML assertions for Nullean.Snapshots: pretty-printed with AngleSharp, compared structurally with AngleSharp.Diffing.

Nullean.Snapshots.Json

JSON snapshots and inline JSON assertions for Nullean.Snapshots, compared as trees: key order ignored, numbers by value, differences by path.

Nullean.Snapshots.Yaml

YAML snapshots and inline YAML assertions for Nullean.Snapshots: stored verbatim, compared as trees with the YAML 1.2 core schema, differences pointing at line and column.

Nullean.Snapshots.Http.Assertions

AwesomeAssertions extensions for Nullean.Snapshots.Http: MatchHttpSnapshot, MatchHttpFileSnapshot and HttpFileTest.

Nullean.Snapshots.Browser.Assertions

AwesomeAssertions extensions for Nullean.Snapshots.Browser: MatchJourneySnapshot and MatchAriaSnapshot.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.12.1 0 11/12/2026
0.12.0 0 11/12/2026
0.11.0 10 11/11/2026
0.10.1 71 11/11/2026
0.10.0 89 11/11/2026
0.9.0 67 11/11/2026
0.8.1 190 11/11/2026
0.8.0 155 11/11/2026
0.7.0 242 11/10/2026
0.6.0 273 11/5/2026
0.5.0 128 11/5/2026
0.4.0 584 11/5/2026
0.3.0 138 11/4/2026
0.2.0 483 11/3/2026
0.1.0 534 11/3/2026
0.1.0-alpha.1 76 11/3/2026