Testing Go

Use when writing or running Go tests — table-driven cases, named subtests, parallel isolation, fakes instead of mock frameworks, coverage profiles, benchmarks, fuzzing, golden files, and testing concurrent goroutines deterministically. NOT general Go code or modules (that is `go`), NOT pytest fixtures (that is `testing-py`), NOT browser user flows (that is `e2e-testing`).

ericrisco 69d3d62 7 files · 32.7 KB Updated

File contents

ericrisco/rsc-harness/tree/main/skills/testing-go commit 69d3d629ba

Frequently asked questions

npx skillmds@latest add ericrisco/testing-go