TestHelpers.DiffAssertions NuGet Package

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.




Got any TestHelpers.DiffAssertions Question?





Info

Version: 1.0.0-CI-20240310-155204
Author(s): Patrik Olausson
Last Update: Sunday, March 10, 2024
.NET Fiddle: Create the first Fiddle
Project Url: https://github.com/patrik-olausson/TestHelpers.DiffAssertions
NuGet Url: https://www.nuget.org/packages/TestHelpers.DiffAssertions


Install
Install-Package TestHelpers.DiffAssertions
dotnet add package TestHelpers.DiffAssertions
paket add TestHelpers.DiffAssertions
TestHelpers.DiffAssertions Download (Unzip the "nupkg" after downloading)



Tags



STATS

must-have-score

2.3

avg-downloads-per-day

4

days-since-last-release

47