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

Visual Studio extension to inspect snapshots #152

Open
tobias-tengler opened this issue Jul 8, 2022 · 1 comment
Open

Visual Studio extension to inspect snapshots #152

tobias-tengler opened this issue Jul 8, 2022 · 1 comment

Comments

@tobias-tengler
Copy link

Is your feature request related to a problem? Please describe.
If there are many snapshot files, it gets really tedious to look up the snapshot files and most of the time I just delete the entire snapshot directory, re-run the tests and then inspect the diff to the files using git. Arguably not a great workflow...

Describe the solution you'd like
I would like an extension for Visual Studio that is similar to what @PascalSenn has built for VS Code in https://github.com/PascalSenn/snapshooter-vscode
It should have the following capabilities:

  • Quickly jump to or a peek a snapshot of a certain test
  • View the diff between an existing snapshot and the mismatched snapshot and a button in the diff view to accept the mismatched snapshot as the new one.
@tobias-tengler
Copy link
Author

I tried to create an extension myself over the weekend, but everything surrounding CodeLens extensions is not well documented and I couldn't even get a sample working in Visual Studio 2022. Decided it's not worth my time at this moment, but I might try again, if the official samples are updated / there is some more documentation.

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