Open
Description
I'm not sure if this will be interesting for this project but Dave Cheney gave nice presentation about writing tests for Go code with some improvements over default template from gotests
:
https://dave.cheney.net/paste/gopherchina-2019-testing-talk.pdf
Like having name
in map[string]struct
instead of []struct
or using https://github.com/google/go-cmp Diff
for better displaying what differ between outputs (instead of %v
).
Metadata
Metadata
Assignees
Labels
No labels