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.
2 posts tagged “Deep Dive”. All posts →
Go test fixture patterns at scale: composition, container-backed fixtures, per-test isolation, thread-safe state, and per-environment configuration.
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.