aboutsummaryrefslogtreecommitdiff
path: root/tests/test-gloss--lookup-flow.el
Commit message (Collapse)AuthorAgeFilesLines
* test: add gloss orchestration core test suite (red phase)Craig Jennings2026-04-301-0/+109
Two test files for the orchestration core. All 13 tests fail at this commit because the implementation is still stubbed. `gloss--orchestrate-fetch-result' gets full N/B/E coverage on the decision matrix: single def, multi def, the >1 boundary, empty defs with each combination of :no-defs and :failed populated, and the all-empty degenerate case. `gloss--lookup-flow' covers cache hit (no fetch), cache miss with one def (auto-save), cache miss with multiple (picker), cancelled picker (no save), no-defs error, and the force-fetch override that bypasses the cache. Mocks live at network and UI boundaries; persistence runs against a real temp glossary so the save side effect is validated.