Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide options to raise Exception while there is no snapshot exists during testing #156

Open
lucemia opened this issue Feb 5, 2021 · 0 comments

Comments

@lucemia
Copy link
Contributor

lucemia commented Feb 5, 2021

Currently snapshottest won't raise Exception while there is no snapshot exists. It is not expect behavior during test.
It would be useful if there is an options or flags to let snapshottest raise exception in such case.

VCR's has a similar options call once provide this functions.
https://vcrpy.readthedocs.io/en/latest/usage.html#once

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

No branches or pull requests

1 participant