Glossary coding Term Page
Fixture
A pytest function that prepares shared resources such as clients or fake users before each
Core Idea
Fixture is A pytest function that prepares shared resources such as clients or fake users before each test. It usually makes the most sense alongside pytest, httpx.AsyncClient, @pytest.mark.asyncio.
Why It Matters Here
Mathbong reuses this term across fastapi posts as shared vocabulary.