Skip to content

Glossary: System Design Beyond the Basics

Fixture

Also written: @pytest.fixture

A pytest function marked `@pytest.fixture` that prepares what tests need. A test that names it as a parameter receives what it returns.

Where the book teaches it

Related terms

pytest