<feed xmlns='http://www.w3.org/2005/Atom'>
<title>org-drill/tests/test-org-drill-route-rating-result.el, branch main</title>
<subtitle>Spaced-repetition flashcards for Org Mode
</subtitle>
<id>https://git.cjennings.net/org-drill/atom?h=main</id>
<link rel='self' href='https://git.cjennings.net/org-drill/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/org-drill/'/>
<updated>2026-05-05T19:35:45+00:00</updated>
<entry>
<title>test: cover --pick-next-marker and resume happy-paths</title>
<updated>2026-05-05T19:35:45+00:00</updated>
<author>
<name>Craig Jennings</name>
<email>c@cjennings.net</email>
</author>
<published>2026-05-05T19:35:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/org-drill/commit/?id=df4caddc17091b67b5afa7864b53ccffc00ce076'/>
<id>urn:sha1:df4caddc17091b67b5afa7864b53ccffc00ce076</id>
<content type='text'>
I extended `tests/test-org-drill-route-rating-result.el' with four
`org-drill--pick-next-marker' cases (no resume → pop, resume with live
drill marker → keep current-item and clear resume-p, resume with nil
or non-drill current-item → fall through to fresh pop).  I also
extended the resume regression file with the three happy-path branches
of `org-drill-resume': pending entries → resume, finished with pending
count → y-or-n-p offers a new session, finished with nothing → print
'finished'.

Coverage moved from 91.7% to 92.1%.
</content>
</entry>
<entry>
<title>test: cover --route-rating-result quit/edit/skip/next branches</title>
<updated>2026-05-05T19:32:33+00:00</updated>
<author>
<name>Craig Jennings</name>
<email>c@cjennings.net</email>
</author>
<published>2026-05-05T19:32:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/org-drill/commit/?id=46bcf53e970e05f6c58b08040a72cc61cc476fb4'/>
<id>urn:sha1:46bcf53e970e05f6c58b08040a72cc61cc476fb4</id>
<content type='text'>
I added tests for `org-drill--route-rating-result' covering all four
return values: nil → 'quit (end-pos becomes :quit), 'edit → 'edit
(end-pos becomes a marker), 'skip → 'skip (current-item cleared),
quality 0 → 'next (pushes to again-entries) and quality 5 → 'next
(pushes to done-entries).  Also a case where again-entries is non-empty
so the shuffle branch runs.

Coverage moved from 91.6% to 91.7%.
</content>
</entry>
</feed>
