We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Is your feature request related to a problem? Please describe.
Current API requires you you to store a previous snapshot before the next "diff" can be stored.
For example
assert result == snapshot assert result_after_something_happens == snapshot(diff=0)
If my test just depends on the diff snapshot (checking that the changes always remain the same) it's not possible to only snapshot the diff.
Describe the solution you'd like
I'd be great if I could do something like this:
assert result_after_something_happens == snapshot(diff=result)
The text was updated successfully, but these errors were encountered:
This sounds reasonable to me. Would you be interested in trying your hand at contributing with a pull request? Otherwise, I'll add this to my backlog.
Sorry, something went wrong.
I'll have a go at a PR over the next week or so :)
No branches or pull requests
Is your feature request related to a problem? Please describe.
Current API requires you you to store a previous snapshot before the next "diff" can be stored.
For example
If my test just depends on the diff snapshot (checking that the changes always remain the same) it's not possible to only snapshot the diff.
Describe the solution you'd like
I'd be great if I could do something like this:
The text was updated successfully, but these errors were encountered: