The Wayback Machine - https://web.archive.org/web/20201116071232/https://github.com/topics/snapshot-testing
Skip to content
#

snapshot-testing

Here are 168 public repositories matching this topic...

bradleyjkemp
bradleyjkemp commented May 2, 2018

The built in error message is very opaque (necessary because it has to be generic) but users can likely provide a more helpful friendly message customised to their tests (or e.g. when the diff just isn't useful). Therefore an option to customise this message would be useful.

This would only really be usable once #28 is implemented.

theramis
theramis commented Sep 30, 2020

Is your feature request related to a problem? Please describe.
Currently Snapper returns the error A snapshot does not exist when a snapshot does not exist. The user then has to go and set the UpdateSnapshots attribute and re-run the tests. This is cumbersome and an extra step that can be avoided to improve developer experience.

Describe the solution you'd like
If the environment

froomzy
froomzy commented Nov 15, 2020

Is your feature request related to a problem? Please describe.
I want to use Syrupy when testing API response bodies. I have nested lists of objects inside my payload. There are values that are returned as part of the nested objects that are not static (eg, created dates, uuids, etc). I am using the path_type matcher to access the nth element of an object, eg "data.0.dateCreated": (str,).

Improve this page

Add a description, image, and links to the snapshot-testing topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the snapshot-testing topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.