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

How to browse snapshots from a test file? #1878

Open
maelle opened this issue Oct 5, 2023 · 2 comments
Open

How to browse snapshots from a test file? #1878

maelle opened this issue Oct 5, 2023 · 2 comments
Labels
feature a feature request or enhancement snapshot 📷

Comments

@maelle
Copy link
Contributor

maelle commented Oct 5, 2023

(Maybe rather an IDE question)

If I'm reading tests to gain an understanding of what the code is doing, how can I easily access the snapshots? Currently I do that by clicking.

More often of course I interact with snapshots when they fail or when I add some. 😅

@hadley hadley added feature a feature request or enhancement snapshot 📷 labels Oct 30, 2023
@hadley
Copy link
Member

hadley commented Oct 30, 2023

I have wondered if we need a use_snapshot() to parallel use_r()/use_test()

@fh-mthomson
Copy link

I was just thinking that use_snapshot() would be helpful, then found this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature a feature request or enhancement snapshot 📷
Projects
None yet
Development

No branches or pull requests

3 participants