Skip to main content
ApprovalTests package icon

ApprovalTests

A picture's worth a 1000 tests. Unit testing asserts can be difficult to use. Approval tests simplify this by taking a snapshot of the results, and confirming that they have not changed.

Total Downloads
11.6M
11,608,947
Published
May 11, 2024
Latest stable version

Install

.NET CLI
dotnet add package ApprovalTests --version 7.0.0-beta.2
Package Manager Console
Install-Package ApprovalTests -Version 7.0.0-beta.2
PackageReference
<PackageReference Include="ApprovalTests" Version="7.0.0-beta.2" />

Frameworks

.NETFramework4.7.2 .NETFramework4.8 net6.0 net7.0 net8.0

Dependencies

ApprovalUtilities
.NETFramework4.7.2
[7.0.0-beta.2, )
DiffEngine
.NETFramework4.7.2
[15.4.0, )
EmptyFiles
.NETFramework4.7.2
[8.2.0, )
TextCopy
.NETFramework4.7.2
[6.2.1, )
ApprovalUtilities
.NETFramework4.8
[7.0.0-beta.2, )
DiffEngine
.NETFramework4.8
[15.4.0, )
EmptyFiles
.NETFramework4.8
[8.2.0, )
TextCopy
.NETFramework4.8
[6.2.1, )
[7.0.0-beta.2, )
[15.4.0, )
[8.2.0, )
TextCopy
net6.0
[6.2.1, )
[7.0.0-beta.2, )
[15.4.0, )
[8.2.0, )
TextCopy
net7.0
[6.2.1, )
[7.0.0-beta.2, )
[15.4.0, )
[8.2.0, )
TextCopy
net8.0
[6.2.1, )

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 20 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.