Skip to main content
Snapshooter.Xunit package icon

Snapshooter.Xunit

Xunit Snapshooter is a flexible snapshot testing tool for .Net unit tests with Xunit. It creates and asserts snapshots (json) within Xunit unit tests.

Total Downloads
10.9M
10,861,823
Published
Feb 24, 2026
Latest stable version

Install

.NET CLI
dotnet add package Snapshooter.Xunit --version 1.3.1-preview.3
Package Manager Console
Install-Package Snapshooter.Xunit -Version 1.3.1-preview.3
PackageReference
<PackageReference Include="Snapshooter.Xunit" Version="1.3.1-preview.3" />

Frameworks

.NETFramework4.6.2 net8.0 net9.0 net10.0 .NETStandard2.0

Dependencies

Snapshooter
.NETFramework4.6.2
[1.3.1-preview.3, )
xunit.assert
.NETFramework4.6.2
[2.4.2, )
xunit.core
.NETFramework4.6.2
[2.4.2, )
[1.3.1-preview.3, )
[2.4.2, )
[2.4.2, )
[1.3.1-preview.3, )
[2.4.2, )
[2.4.2, )
[1.3.1-preview.3, )
[2.4.2, )
xunit.core
net10.0
[2.4.2, )
Snapshooter
.NETStandard2.0
[1.3.1-preview.3, )
xunit.assert
.NETStandard2.0
[2.4.2, )
xunit.core
.NETStandard2.0
[2.4.2, )

Adoption guide

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

This version is marked prerelease. Validate its API and upgrade path before production use.

Compatibility metadata lists 5 target frameworks; confirm the exact target used by your application.

The published metadata declares 15 direct dependency entries across framework groups. Inspect the resolved dependency graph for your target framework.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.