<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gloss/tests/test-gloss--lookup-flow.el, branch main</title>
<subtitle>Emacs glossary lookup with Wiktionary fallback
</subtitle>
<id>https://git.cjennings.net/gloss/atom?h=main</id>
<link rel='self' href='https://git.cjennings.net/gloss/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/gloss/'/>
<updated>2026-04-30T06:03:13+00:00</updated>
<entry>
<title>test: add gloss orchestration core test suite (red phase)</title>
<updated>2026-04-30T06:03:13+00:00</updated>
<author>
<name>Craig Jennings</name>
<email>c@cjennings.net</email>
</author>
<published>2026-04-30T06:03:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/gloss/commit/?id=540d805bd917a37d0fafa5393f3bfc7e3603570e'/>
<id>urn:sha1:540d805bd917a37d0fafa5393f3bfc7e3603570e</id>
<content type='text'>
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 &gt;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.
</content>
</entry>
</feed>
