Remove TestClient from documentation - #83
Conversation
There was a problem hiding this comment.
Pull request overview
Updates the testing documentation to remove reliance on FastAPI’s TestClient and shift examples toward directly building an async ServiceProvider, aligning the docs with async-first testing patterns.
Changes:
- Replaces
TestClient(app)-based FastAPI fixture examples withasync with services.build_service_provider(). - Updates console-application guidance to clarify why
ServiceProvidercan’t be imported directly frommain(). - Consolidates “globally override services” examples into a single async fixture example.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated 2 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
No description provided.