nuget.org : testhelpers.diffassertions
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.
Registry
-
Source
- JSON
- codemeta.json
purl: pkg:nuget/testhelpers.diffassertions
Keywords:
Assert
, Assertion
, Equal
, Equals
, Diff
, Compare
, Verify
, Verification
, Approval
, Example
, Specification
, Object
License:
Latest release: over 1 year ago
First release: almost 8 years ago
Downloads: 17,265 total
Stars: 0 on GitHub
Forks: 1 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 23 days ago