Skip to content

Glossary: Microservices

yield fixture

Also written: pytest fixture, fixture

A pytest setup function whose code before `yield` runs before the tests and whose code after runs when they're done. `scope="module"` runs it once per file.

Where the book teaches it

Related terms

pytestend-to-end test