Skip to content

Glossary: ML in Production

pytest

Also written: TestClient

A Python testing tool. `python -m pytest -q` runs all tests, and FastAPI's `TestClient` lets tests call the API without a real server.

Where the book teaches it

Related terms

Fixture (pytest)Unit test