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

Add golden/snapshot tests #218

Closed
woodruffw opened this issue Nov 30, 2024 · 0 comments · Fixed by #220
Closed

Add golden/snapshot tests #218

woodruffw opened this issue Nov 30, 2024 · 0 comments · Fixed by #220
Assignees
Labels

Comments

@woodruffw
Copy link
Owner

woodruffw commented Nov 30, 2024

See #55.

@ubiratansoares added some amazing acceptance tests with #97, but we can take it one step further and use golden/snapshot/"known-answer" style tests to both increase our test coverage and reduce the amount of manual test code that needs to be written.

These will complement (not replace) the acceptance tests, since explicit acceptance tests are still valuable for handling concrete cases/adding backstop tests for regressions.

insta looks like the ideal library for this: https://insta.rs/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant