bahmutov / snap-shot-core

Save / load named snapshots, useful for tests
14 stars 9 forks source link

Maybe makes sense to use concordance #10

Open bahmutov opened 7 years ago

bahmutov commented 7 years ago

To compare / diff snapshot values, see https://github.com/concordancejs/concordance

Ava started using it for snapshots in v0.20.0 https://github.com/avajs/ava/releases/tag/v0.20.0

fernandogmar commented 7 years ago

How about to be able to configure it as a plugin?, I mean you can pick concordance or whatever diff report you prefer... I am using tape that returns tap format that just gives you the current and expected values and I am using a second tool tap-diff to show it nicely on screen... So the idea is that snap-shot-core provides this plugin system and it would keep itself as lean as possible ;)