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.
<PackageVersion Include="ApprovalTests" Version="6.0.0" />
                    
Directory.Packages.props
<PackageReference Include="ApprovalTests" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version 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.
#addin nuget:?package=ApprovalTests&version=6.0.0
                    
Install ApprovalTests as a Cake Addin
#tool nuget:?package=ApprovalTests&version=6.0.0
                    
Install ApprovalTests as a Cake Tool

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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.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 (36)

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

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

GitHub repositories (30)

Showing the top 20 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
OpenLiveWriter/OpenLiveWriter
An open source fork of Windows Live Writer
Fody/Costura
Embed references as resources
phongnguyend/Practical.CleanArchitecture
Full-stack .Net 9 Clean Architecture (Microservices, Modular Monolith, Monolith), Blazor, Angular 19, React 19, Vue 3.5, BFF with YARP, NextJs 15, Domain-Driven Design, CQRS, SOLID, Asp.Net Core Identity Custom Storage, OpenID Connect, EF Core, OpenTelemetry, SignalR, Background Services, Health Checks, Rate Limiting, Clouds (Azure, AWS, GCP), ..
goblinfactory/konsole
Home of the simple console library consisting of ProgressBar, Window, Form, Draw & MockConsole (C# console progress bar with support for single or multithreaded progress updates) Window is a 100%-ish console compatible window, supporting all normal console writing to a windowed section of the screen, supporting scrolling and clipping of console output.
OData/odata.net
ODataLib: Open Data Protocol - .NET Libraries and Frameworks
ForNeVeR/xaml-math
A collection of .NET libraries for rendering mathematical formulae using the LaTeX typesetting style, for the WPF and Avalonia XAML-based frameworks
approvals/ApprovalTests.Net
ApprovalTest verification library for .Net
GitTools/GitLink
Making .NET open source accessible!
dotnet/dotnet
Home of .NET's Virtual Monolithic Repository which includes all the code needed to build the .NET SDK.
petabridge/NBench
Performance benchmarking and testing framework for .NET applications :chart_with_upwards_trend:
whistyun/Markdown.Avalonia
render markdown with Avalonia UI
GitTools/GitReleaseManager
Tool for creating and exporting releases for software applications hosted on GitHub
akkadotnet/Hyperion
Polymorphic serialization for .NET
whistyun/MdXaml
Markdown for WPF - alternate version of Markdown.Xaml
theunrepentantgeek/Markdown.XAML
Markdown for WPF - render Markdown to a FlowDocument instead of HTML
Version Downloads Last updated
7.0.0-beta.3 54,510 5/11/2024
7.0.0-beta.2 70 5/11/2024
7.0.0-beta.1 19,447 1/23/2024
6.0.0 806,401 11/24/2023
5.9.0 92,971 9/7/2023
5.8.0 560,939 12/9/2022
5.7.3 878,908 4/24/2022
5.7.2 551,450 2/21/2022
5.7.1 442,841 10/2/2021
5.7.0 200,772 8/7/2021
5.5.0 148,707 5/27/2021
5.4.7 192,709 3/22/2021
5.4.7-beta.1 272 3/20/2021
5.4.6 68,294 3/6/2021
5.4.5 174,889 12/4/2020
5.4.4 37,331 11/12/2020
5.4.3 44,602 10/12/2020
5.4.2 55,439 9/20/2020
5.4.1 204,544 8/31/2020
5.4.0 1,580 8/30/2020
5.3.0 38,427 8/25/2020
5.2.5 136,669 5/27/2020
5.2.4 65,309 5/19/2020
5.2.3 12,404 5/15/2020
5.2.2 4,908 5/15/2020
5.2.1 21,668 5/11/2020
5.2.0 19,584 5/11/2020
5.1.1 2,835 5/7/2020
5.1.0 25,040 4/26/2020
5.0.4 5,138 4/17/2020
5.0.3 2,042 4/17/2020
5.0.2 1,276 4/16/2020
5.0.1 1,353 4/16/2020
5.0.0 20,567 4/11/2020
4.5.3 215,950 4/7/2020
4.5.2 25,710 3/27/2020
4.5.1 70,940 2/25/2020
4.5.0 54,072 1/31/2020
4.4.0 158,565 11/19/2019
4.4.0-beta.1 332 11/19/2019
4.3.0 18,397 11/14/2019
4.2.2 187,128 9/5/2019
4.2.1-beta.1 355 9/4/2019
4.2.0 60,727 8/15/2019
4.0.0 117,506 6/7/2019
3.1.0 51,121 6/7/2019
3.0.22 262,172 3/27/2019
3.0.21 80,353 3/8/2019
3.0.20 6,301 2/28/2019
3.0.19 107,240 2/5/2019
3.0.18 224,009 10/3/2018
3.0.17 1,956 10/2/2018
3.0.16 32,946 8/25/2018
3.0.15 91,725 7/10/2018
3.0.14 155,254 3/5/2018
3.0.13 817,802 9/27/2016
3.0.12 6,877 9/22/2016
3.0.11 229,704 3/13/2016
3.0.10 127,383 10/10/2015
3.0.9 67,385 8/22/2015
3.0.8 97,813 1/25/2015
3.0.7 46,972 7/3/2014
3.0.6 5,249 6/18/2014
3.0.5 52,618 11/8/2013
3.0.4 2,503 11/8/2013
3.0.3 2,782 11/6/2013
3.0.2 33,433 10/2/2013
3.0.1 27,288 7/8/2013
2.2.0 21,631 2/5/2013
2.1.0 6,171 10/2/2012
2.0.0 3,488 8/11/2012
1.22.2 3,395 7/8/2013
1.9.0 6,121 4/27/2012
1.8.0 2,754 4/11/2012
1.7.0 2,973 3/22/2012
1.6.0 27,705 3/19/2012
1.5.0 2,718 3/12/2012
1.4.0 3,103 2/21/2012
1.1.0 26,073 10/21/2011