You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Valast](https://github.com/hexops/valast) is a new Go package created
specifically for autogold. A brief overview of the ecosystem:
- go-cmp compares Go values using reflection, but cannot format Go
values into Go-syntax strings for saving to a .golden file.
- go-spew is inactive, cannot format Go values to Go-syntax (but
rather just Go-like) which is desirable here for inline snapshotting
later.
- go-goon is based on go-spew and writes Go-syntax, but but not via a `go/ast`,
and [produces less idiomatic/terse results](shurcooL-deprecated/go-goon#11))
In short, Autogold was created to solve the problem of automatic golden
file and inline snapshotting testing in Go (which go-cmp does not aim
to solve), and Valast was created to solve the deficiencies I ran into
with using go-goon.
Signed-off-by: Stephen Gutekanst <[email protected]>
Need to investigate this and fix this.
See davecgh/go-spew#53.
Originally discovered in kortschak/utter#5.
The text was updated successfully, but these errors were encountered: