gkampitakis / go-snaps

Jest-like snapshot testing in Go 📸
https://pkg.go.dev/github.com/gkampitakis/go-snaps
MIT License
174 stars 6 forks source link

feat: add path of failed snapshot on diff report #69

Closed gkampitakis closed 1 year ago

gkampitakis commented 1 year ago
Screenshot 2023-07-04 at 19 25 46

Adds a path on diff report for the location of the failed snapshot. This can be helpful especially when saving snapshots on different files or when snapshot files containing a lot of snapshots. Also on VSCode with CMD+Click you are redirected on the file and the line.