Lesson 7 of 9 · 30m
Table-Driven Tests and httptest: Go's Testing Idioms
One test function, a table of cases, real HTTP round-trips with httptest.NewServer — and -race in CI, always.
Loading lesson…
Lesson 7 of 9 · 30m
One test function, a table of cases, real HTTP round-trips with httptest.NewServer — and -race in CI, always.
Loading lesson…