9 lines
585 B
Markdown
9 lines
585 B
Markdown
|
This page links to resources about testing in Go.
|
||
|
|
||
|
- Read [How to Write Go Code](https://go.dev/doc/code), especially [Testing](https://go.dev/doc/code#Testing)
|
||
|
- Study [Package testing](https://pkg.go.dev/testing)
|
||
|
- Read [Why does Go not have assertions?](https://go.dev/doc/faq#assertions)
|
||
|
- Read [Where is my favorite helper function for testing?](https://go.dev/doc/faq#testing_framework)
|
||
|
- Watch [Testing Techniques](https://talks.golang.org/2014/testing.slide#1)
|
||
|
- Read [TableDrivenTests](TableDrivenTests)
|
||
|
- Read [Using Subtests and Sub-benchmarks](https://go.dev/blog/subtests)
|