Diffa NuGet Package

Diffa is a .netstandard unit-test assertion library that allows you to verify your test results against approved files.

Inspired by [ApprovalTests](https://github.com/approvals/ApprovalTests.Net), Diffa will also automatically launch your favorite diff tool when an assertion fails so you can compare approve the results.

## Basic Use

[TestClass]
[SaveFilesAt("Approved/")]
[Use(typeof(DiffReporter))]
public class UnitTests

[TestMethod]
public void Ensure_results_is_well_formed()
=> Diff.Approve("This is my test results.");.




Got any Diffa Question?





Info

Version: 1.1.1
Author(s): Ackara
Last Update: Friday, June 19, 2020
.NET Fiddle: Create the first Fiddle
Project Url: https://github.com/Ackara/Diffa
NuGet Url: https://www.nuget.org/packages/Acklann.Diffa


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



Tags



STATS

must-have-score

.3

avg-downloads-per-day

1

days-since-last-release

1401