Skip to content

Glossary: Building APIs with FastAPI

conftest.py

A file that pytest loads automatically, whose fixtures are shared with every test in its folder. It is the usual place for shared fixtures such as a test database session, a test client and an authentication header.

Where the book teaches it

Related terms

Fixturepytest