579 B
579 B
Test Strategy
Unit tests must run without OceanBase, BOS, Qianfan, internet, GPU or production credentials.
Provide deterministic fakes:
- FakeEmbeddingProvider
- FakeRerankerProvider
- FakeVectorStore
- FakeLLMProvider
- FakeObjectStorage
External integrations use separate integration suites/markers.
E2E covers upload -> parse -> chunk -> embed -> index -> retrieve -> source trace, and source -> compilation draft -> review -> publish -> retrieval.
Any parsing/chunking/embedding/fusion/retrieval/reranking/query-routing change must run the Golden Dataset evaluation.