ApprovalTests 5.8.0

.NET Standard 2.0 .NET Framework 4.6.2
dotnet add package ApprovalTests --version 5.8.0
NuGet\Install-Package ApprovalTests -Version 5.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="ApprovalTests" Version="5.8.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ApprovalTests --version 5.8.0
#r "nuget: ApprovalTests, 5.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.
// Install ApprovalTests as a Cake Addin
#addin nuget:?package=ApprovalTests&version=5.8.0

// Install ApprovalTests as a Cake Tool
#tool nuget:?package=ApprovalTests&version=5.8.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 Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48 net481
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (35)

Showing the top 5 NuGet packages that depend on ApprovalTests:

Package Downloads
ObjectApproval

Extends ApprovalTests to allow simple approval of complex models.

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.

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 (29)

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

Repository Stars
dotnet/BenchmarkDotNet
Powerful .NET library for benchmarking
dotnet/machinelearning
ML.NET is an open source and cross-platform machine learning framework for .NET.
gitextensions/gitextensions
Git Extensions is a standalone UI tool for managing git repositories. It also integrates with Windows Explorer and Microsoft Visual Studio (2015/2017/2019).
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!
Version Downloads Last updated
5.8.0 47,946 12/9/2022
5.7.3 285,763 4/24/2022
5.7.2 459,719 2/21/2022
5.7.1 213,813 10/2/2021
5.7.0 131,442 8/7/2021
5.5.0 103,533 5/27/2021
5.4.7 121,015 3/22/2021
5.4.7-beta.1 190 3/20/2021
5.4.6 42,892 3/6/2021
5.4.5 132,103 12/4/2020
5.4.4 27,225 11/12/2020
5.4.3 37,518 10/12/2020
5.4.2 42,932 9/20/2020
5.4.1 182,409 8/31/2020
5.4.0 756 8/30/2020
5.3.0 18,458 8/25/2020
5.2.5 105,080 5/27/2020
5.2.4 60,145 5/19/2020
5.2.3 11,499 5/15/2020
5.2.2 4,055 5/15/2020
5.2.1 17,845 5/11/2020
5.2.0 18,337 5/11/2020
5.1.1 1,997 5/7/2020
5.1.0 19,998 4/26/2020
5.0.4 4,067 4/17/2020
5.0.3 712 4/17/2020
5.0.2 527 4/16/2020
5.0.1 550 4/16/2020
5.0.0 14,381 4/11/2020
4.5.3 147,625 4/7/2020
4.5.2 19,532 3/27/2020
4.5.1 58,826 2/25/2020
4.5.0 45,883 1/31/2020
4.4.0 131,107 11/19/2019
4.4.0-beta.1 242 11/19/2019
4.3.0 14,046 11/14/2019
4.2.2 139,500 9/5/2019
4.2.1-beta.1 274 9/4/2019
4.2.0 32,550 8/15/2019
4.0.0 76,040 6/7/2019
3.1.0 34,193 6/7/2019
3.0.22 203,746 3/27/2019
3.0.21 78,259 3/8/2019
3.0.20 5,565 2/28/2019
3.0.19 102,941 2/5/2019
3.0.18 161,547 10/3/2018
3.0.17 1,146 10/2/2018
3.0.16 29,138 8/25/2018
3.0.15 72,690 7/10/2018
3.0.14 105,455 3/5/2018
3.0.13 574,480 9/27/2016
3.0.12 6,013 9/22/2016
3.0.11 178,049 3/13/2016
3.0.10 117,004 10/10/2015
3.0.9 59,826 8/22/2015
3.0.8 66,081 1/25/2015
3.0.7 36,367 7/3/2014
3.0.6 3,964 6/18/2014
3.0.5 43,090 11/8/2013
3.0.4 1,614 11/8/2013
3.0.3 1,853 11/6/2013
3.0.2 18,988 10/2/2013
3.0.1 14,646 7/8/2013
2.2.0 17,665 2/5/2013
2.1.0 4,872 10/2/2012
2.0.0 2,521 8/11/2012
1.22.2 2,521 7/8/2013
1.9.0 4,825 4/27/2012
1.8.0 1,839 4/11/2012
1.7.0 2,047 3/22/2012
1.6.0 23,975 3/19/2012
1.5.0 1,837 3/12/2012
1.4.0 2,179 2/21/2012
1.1.0 14,347 10/21/2011