routes/stream.py | test_stream_complete_contract, test_stream_metrics_contract, test_app, test_api_integration | SSE contract and endpoint behavior |
routes/main.py | test_app | Root, /chat, /clear, /history endpoints |
routes/conversations.py | test_integration, test_repositories | Conversation CRUD + DB layer |
routes/mcp.py | Manual: call MCP proxy routes | No dedicated unit test; verify via inspector |
routes/image_gen.py | test_image_orchestration, test_endpoint_orchestrator_integration | Image generation pipeline |
routes/memory.py | test_integration | Memory persistence through DB |
routes/skills.py | test_skills_api | Skill management endpoints |
core/chatbot.py | test_api_integration, test_integration, test_llm_clients, test_multi_turn_followup | Model routing and tool dispatch |
core/chatbot_v2.py | Same as core/chatbot.py | V2 agent |
core/tools.py | test_api_integration + manual search-tool check | Tool functions are mocked in CI; verify cascade manually |
core/config.py | test_app (smoke) | Config is read at import; any test that imports the app exercises it |
core/thinking_generator.py | test_agentic_* (all 9 files) | Thinking modes feed the agentic pipeline |
core/streaming.py | test_stream_complete_contract, test_stream_metrics_contract | SSE helpers |
core/extensions.py | test_app | Flask extensions shared across blueprints |
core/db_helpers.py | test_integration, test_performance, test_repositories | Database access layer |
core/error_handler.py | test_app | Error middleware |
core/agentic/** | test_agentic_* (all 9 files) | Multi-agent orchestration |
src/rag/** | test_ingest, test_retrieval, test_rag_* | RAG pipeline |
src/audio_transcription.py | Manual only | No dedicated test |
src/ocr_integration.py | Manual only | No dedicated test |
src/video_generation.py | test_video_aspect_ratio_contract | Video parameter contract |
templates/index.html | test_ui_smoke_contracts, test_app (root endpoint) | UI contract |
static/** | test_ui_smoke_contracts | UI asset changes |
services/shared_env.py | test_app (smoke) + check all services start | Env loader is process-wide |
services/mcp-server/server.py | Inspector test: npx @modelcontextprotocol/inspector python server.py | MCP has no pytest suite |
services/mcp-server/tools/** | Same inspector test | Utility functions not auto-registered |
.env* / app/config/** | test_app (smoke) | Config read at startup |
.github/workflows/** | No code test needed | Review YAML diff only |
README.md / docs only | No test needed | Docs-only changes never need tests |