dotnet add package ApprovalTests --version 5.9.0
NuGet\Install-Package ApprovalTests -Version 5.9.0
<PackageReference Include="ApprovalTests" Version="5.9.0" />
paket add ApprovalTests --version 5.9.0
#r "nuget: ApprovalTests, 5.9.0"
// Install ApprovalTests as a Cake Addin #addin nuget:?package=ApprovalTests&version=5.9.0 // Install ApprovalTests as a Cake Tool #tool nuget:?package=ApprovalTests&version=5.9.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 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.|
|.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.|
NuGet packages (35)
Showing the top 5 NuGet packages that depend on ApprovalTests:
Extends ApprovalTests to allow simple approval of complex models.
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.
Helpers for xUnit
Утилиты для тестов
GitHub repositories (28)
Showing the top 5 popular GitHub repositories that depend on ApprovalTests:
ML.NET is an open source and cross-platform machine learning framework 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.
Command line parsing, invocation, and rendering of terminal output.
Cosmos is an operating system "construction kit". Build your own OS using managed languages such as C#, VB.NET, and more!
A better date and time API for .NET