Tests in Go
Learn some of the test features in Go, including subtests, table-driven tests, and flags.
We'll cover the following
Go has some fantastic features for tests that are worth mentioning.
Subtests
Subtests help us write more structured test code. Let’s use an example to understand this:
Get hands-on with 1400+ tech skills courses.