Skip to content

Ignore certain snapshot fields. #8

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

Open
ftes opened this issue Oct 24, 2018 · 0 comments
Open

Ignore certain snapshot fields. #8

ftes opened this issue Oct 24, 2018 · 0 comments

Comments

@ftes
Copy link

ftes commented Oct 24, 2018

Allow snapshot testing of objects with varying content.
E.g. the object may contain a randomly generated id or created_at timestamps.

#7 contains a simple implementation that allows ignoring nested fields. It only works if the object under test is a nested java.util.Map.

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