Skip to content

Conversation

aaronpowell
Copy link
Contributor

Summary of the changes (Less than 80 chars)

Generate a diff between the expected/actual snapshot and displaying that on failure.

Addresses #136

Added a dependency on DiffPlex and changed the IAssert implementations so that when they fail, a diff is generated from the expected/actual and then that is used in the output. This makes it easier to see where there are problems between the two snapshots.

This addresses SwissLife-OSS#136
@SimonCropp
Copy link
Contributor

note that https://github.com/VerifyTests/DiffEngine is designed to handle opening diffs for many snapshotting libs

@mlstubblefield
Copy link

It'd be awesome if this could be part of the library!

@SimonCropp
Copy link
Contributor

@mlstubblefield or you could move to https://github.com/VerifyTests/Verify 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants