Testing FastAPI Endpoints with Fixtures
By the end of this module you can test endpoints properly with fixtures and an overridden dependency, so tests run without a live database or a paid API call.
Units
- Unit 09.00: Testing the whole request path in-process
- Unit 09.01: Fixtures that make a test readable
- Unit 09.02: Overriding the expensive dependency
- Unit 09.03: Asserting on the contract, not the wording
- Unit 09.04: A suite fast enough to run on every save
