Deep Dive

3 posts tagged “Deep Dive”. All posts →

Fuzzing Go Structs: Past the Fifteen Types the Engine Accepts

Go's fuzzing engine takes fifteen primitive types, none of them a struct. How gotest fans a struct into engine arguments and keeps seeds readable.

Advanced Go Test Fixtures: Composition, Containers, Config

Go test fixture patterns at scale: composition, container-backed fixtures, per-test isolation, thread-safe state, and per-environment configuration.

Sharing Test Fixtures Across Go Packages

go test runs each package in a separate OS process. How do you share a database container across packages? gotest's SharedFixture model solves it.