ApprovalTests 6.0.0

There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package ApprovalTests --version 6.0.0
NuGet\Install-Package ApprovalTests -Version 6.0.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="ApprovalTests" Version="6.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ApprovalTests --version 6.0.0
#r "nuget: ApprovalTests, 6.0.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.
// Install ApprovalTests as a Cake Addin
#addin nuget:?package=ApprovalTests&version=6.0.0

// Install ApprovalTests as a Cake Tool
#tool nuget:?package=ApprovalTests&version=6.0.0

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.

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 is compatible.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (35)

Showing the top 5 NuGet packages that depend on ApprovalTests:

Package Downloads
ApiApprover

Simply add this package to add a test which generates a string of your public API, then sends it to Approval Tests to approve any public API changes. Don't accidently miss a breaking API change and break semantic versioning again.

ObjectApproval

Extends ApprovalTests to allow simple approval of complex models.

Codinators.XunitHelpers

Helpers for xUnit

CertiPay.Common.Testing

Package Description

CUSTIS.NetCore.Tests The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Утилиты для тестов

GitHub repositories (32)

Showing the top 5 popular GitHub repositories that depend on ApprovalTests:

Repository Stars
dotnet/machinelearning
ML.NET is an open source and cross-platform machine learning framework for .NET.
Azure/azure-sdk-for-net
This repository is for active development of the Azure SDK for .NET. For consumers of the SDK we recommend visiting our public developer docs at https://learn.microsoft.com/dotnet/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-net.
dotnet/command-line-api
Command line parsing, invocation, and rendering of terminal output.
CosmosOS/Cosmos
Cosmos is an operating system "construction kit". Build your own OS using managed languages such as C#, VB.NET, and more!
nodatime/nodatime
A better date and time API for .NET
Version Downloads Last updated
7.0.0-beta.3 4,159 5/11/2024
7.0.0-beta.2 38 5/11/2024
7.0.0-beta.1 4,705 1/23/2024
6.0.0 141,915 11/24/2023
5.9.0 66,788 9/7/2023
5.8.0 409,738 12/9/2022
5.7.3 748,964 4/24/2022
5.7.2 546,593 2/21/2022
5.7.1 379,215 10/2/2021
5.7.0 178,522 8/7/2021
5.5.0 130,875 5/27/2021
5.4.7 161,010 3/22/2021
5.4.7-beta.1 228 3/20/2021
5.4.6 59,190 3/6/2021
5.4.5 162,140 12/4/2020
5.4.4 35,063 11/12/2020
5.4.3 42,732 10/12/2020
5.4.2 52,790 9/20/2020
5.4.1 202,124 8/31/2020
5.4.0 1,511 8/30/2020
5.3.0 28,850 8/25/2020
5.2.5 128,681 5/27/2020
5.2.4 63,504 5/19/2020
5.2.3 12,338 5/15/2020
5.2.2 4,753 5/15/2020
5.2.1 19,809 5/11/2020
5.2.0 19,461 5/11/2020
5.1.1 2,749 5/7/2020
5.1.0 24,015 4/26/2020
5.0.4 5,000 4/17/2020
5.0.3 1,746 4/17/2020
5.0.2 1,209 4/16/2020
5.0.1 1,282 4/16/2020
5.0.0 20,058 4/11/2020
4.5.3 190,594 4/7/2020
4.5.2 23,282 3/27/2020
4.5.1 66,497 2/25/2020
4.5.0 51,292 1/31/2020
4.4.0 152,646 11/19/2019
4.4.0-beta.1 285 11/19/2019
4.3.0 17,565 11/14/2019
4.2.2 172,070 9/5/2019
4.2.1-beta.1 310 9/4/2019
4.2.0 49,372 8/15/2019
4.0.0 100,351 6/7/2019
3.1.0 46,895 6/7/2019
3.0.22 240,191 3/27/2019
3.0.21 79,882 3/8/2019
3.0.20 6,227 2/28/2019
3.0.19 105,599 2/5/2019
3.0.18 199,127 10/3/2018
3.0.17 1,867 10/2/2018
3.0.16 32,457 8/25/2018
3.0.15 84,325 7/10/2018
3.0.14 127,564 3/5/2018
3.0.13 746,953 9/27/2016
3.0.12 6,735 9/22/2016
3.0.11 207,177 3/13/2016
3.0.10 124,586 10/10/2015
3.0.9 65,632 8/22/2015
3.0.8 83,756 1/25/2015
3.0.7 43,011 7/3/2014
3.0.6 4,963 6/18/2014
3.0.5 49,772 11/8/2013
3.0.4 2,350 11/8/2013
3.0.3 2,633 11/6/2013
3.0.2 26,608 10/2/2013
3.0.1 26,719 7/8/2013
2.2.0 19,827 2/5/2013
2.1.0 5,911 10/2/2012
2.0.0 3,328 8/11/2012
1.22.2 3,246 7/8/2013
1.9.0 5,906 4/27/2012
1.8.0 2,606 4/11/2012
1.7.0 2,821 3/22/2012
1.6.0 27,109 3/19/2012
1.5.0 2,567 3/12/2012
1.4.0 2,951 2/21/2012
1.1.0 24,158 10/21/2011