TestHelpers.DiffAssertions
2.0.0
dotnet add package TestHelpers.DiffAssertions --version 2.0.0
NuGet\Install-Package TestHelpers.DiffAssertions -Version 2.0.0
<PackageReference Include="TestHelpers.DiffAssertions" Version="2.0.0" />
paket add TestHelpers.DiffAssertions --version 2.0.0
#r "nuget: TestHelpers.DiffAssertions, 2.0.0"
// Install TestHelpers.DiffAssertions as a Cake Addin #addin nuget:?package=TestHelpers.DiffAssertions&version=2.0.0 // Install TestHelpers.DiffAssertions as a Cake Tool #tool nuget:?package=TestHelpers.DiffAssertions&version=2.0.0
A simple diff comparison asserter that makes it easy to assert if two texts (strings) are equal, and display the differences in a diff tool if they are not.
Simply put it is a much simpler (and dumber) version of ApprovalTests that should get the job done for simple scenarios.
You can easily create a file that contains the expected result (your specification or example) and then compare the contents of the file with the actual value that is produced during the test. A new addition is the ability to compare objects wihout using files. It is an extension of FluentAssertions that allows comparison and exclusion of complex objects.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. 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 | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- FluentAssertions (>= 6.12.0)
- Microsoft.Extensions.Configuration.Json (>= 2.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
2.0.0 | 157 | 10/13/2024 |
1.1.0-CI-20241010-143159 | 196 | 10/10/2024 |
1.0.0-CI-20241004-095626 | 76 | 10/4/2024 |
1.0.0-CI-20240310-155204 | 677 | 3/10/2024 |
1.0.0-CI-20220912-172854 | 4,332 | 9/12/2022 |
1.0.0-CI-20201023-062207 | 662 | 10/23/2020 |
1.0.0-CI-20200208-102746 | 606 | 2/8/2020 |
1.0.0-CI-20181214-111502 | 1,148 | 12/14/2018 |
1.0.0-CI-20181214-110929 | 548 | 12/14/2018 |
1.0.0-CI-20180909-092340 | 593 | 9/9/2018 |
1.0.0-CI-20180422-195654 | 658 | 4/22/2018 |
1.0.0-CI-20180222-091008 | 1,361 | 2/22/2018 |
1.0.0-CI-20180221-163706 | 696 | 2/21/2018 |