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

Investigate snapshot testing strategies with insta within the SDK #1186

Open
neysofu opened this issue Nov 28, 2023 · 0 comments
Open

Investigate snapshot testing strategies with insta within the SDK #1186

neysofu opened this issue Nov 28, 2023 · 0 comments
Labels
enhancement New feature or request Priority-low rust Pull requests that update Rust code

Comments

@neysofu
Copy link
Member

neysofu commented Nov 28, 2023

We've had great success using the insta snapshot testing crate within the block explorer's backend, and it would be nice to use and simplify some of the testing code we have inside the SDK.

insta is most useful for regression testing against large values that is too much of a hassle to deeply inspect manually. insta also offers diff inspection and cool tooling like cargo-insta to review failing tests.

@neysofu neysofu added enhancement New feature or request Priority-low rust Pull requests that update Rust code labels Nov 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Priority-low rust Pull requests that update Rust code
Projects
None yet
Development

No branches or pull requests

1 participant