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)
Dependencies
- System.Memory(>= 4.5.1)
Tags
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.");.