Skip to content

Glossary: Software Design Patterns in Go

Fixture

Also written: fixtures

The setup a test needs, built fresh for each test. In Go a helper such as `newService(t)` can play this part, so no test sees another's orders.

Where the book teaches it

Related terms

Faket.Helper()