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, C# scripting and .NET Interactive. 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 17,489 12/9/2022
5.7.3 216,139 4/24/2022
5.7.2 442,558 2/21/2022
5.7.1 198,252 10/2/2021
5.7.0 121,971 8/7/2021
5.5.0 100,317 5/27/2021
5.4.7 113,836 3/22/2021
5.4.7-beta.1 181 3/20/2021
5.4.6 41,021 3/6/2021
5.4.5 127,738 12/4/2020
5.4.4 26,506 11/12/2020
5.4.3 36,918 10/12/2020
5.4.2 41,224 9/20/2020
5.4.1 177,687 8/31/2020
5.4.0 741 8/30/2020
5.3.0 17,464 8/25/2020
5.2.5 102,598 5/27/2020
5.2.4 59,929 5/19/2020
5.2.3 11,328 5/15/2020
5.2.2 4,042 5/15/2020
5.2.1 17,690 5/11/2020
5.2.0 17,799 5/11/2020
5.1.1 1,978 5/7/2020
5.1.0 19,892 4/26/2020
5.0.4 4,034 4/17/2020
5.0.3 685 4/17/2020
5.0.2 515 4/16/2020
5.0.1 538 4/16/2020
5.0.0 13,446 4/11/2020
4.5.3 132,218 4/7/2020
4.5.2 19,140 3/27/2020
4.5.1 57,666 2/25/2020
4.5.0 45,098 1/31/2020
4.4.0 128,379 11/19/2019
4.4.0-beta.1 231 11/19/2019
4.3.0 13,616 11/14/2019
4.2.2 136,363 9/5/2019
4.2.1-beta.1 265 9/4/2019
4.2.0 31,311 8/15/2019
4.0.0 73,584 6/7/2019
3.1.0 31,950 6/7/2019
3.0.22 200,334 3/27/2019
3.0.21 78,035 3/8/2019
3.0.20 5,553 2/28/2019
3.0.19 102,676 2/5/2019
3.0.18 158,749 10/3/2018
3.0.17 1,137 10/2/2018
3.0.16 28,731 8/25/2018
3.0.15 71,492 7/10/2018
3.0.14 103,401 3/5/2018
3.0.13 549,428 9/27/2016
3.0.12 5,995 9/22/2016
3.0.11 174,951 3/13/2016
3.0.10 115,585 10/10/2015
3.0.9 59,419 8/22/2015
3.0.8 64,342 1/25/2015
3.0.7 35,621 7/3/2014
3.0.6 3,938 6/18/2014
3.0.5 42,819 11/8/2013
3.0.4 1,593 11/8/2013
3.0.3 1,831 11/6/2013
3.0.2 18,390 10/2/2013
3.0.1 14,618 7/8/2013
2.2.0 17,486 2/5/2013
2.1.0 4,806 10/2/2012
2.0.0 2,496 8/11/2012
1.22.2 2,448 7/8/2013
1.9.0 4,803 4/27/2012
1.8.0 1,816 4/11/2012
1.7.0 2,022 3/22/2012
1.6.0 23,625 3/19/2012
1.5.0 1,815 3/12/2012
1.4.0 2,156 2/21/2012
1.1.0 14,127 10/21/2011