aboutsummaryrefslogtreecommitdiff
path: root/todo.org
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-25 17:11:13 -0500
committerCraig Jennings <c@cjennings.net>2026-05-25 17:11:13 -0500
commitdae7a12e099a094f9b924c623302ad567d796f0e (patch)
treeafe9244eb83f3e487eaafee4dc6f30bf46036fbd /todo.org
parent37917d5b34155c072752697e0309011d3f17a56e (diff)
downloaddotemacs-dae7a12e099a094f9b924c623302ad567d796f0e.tar.gz
dotemacs-dae7a12e099a094f9b924c623302ad567d796f0e.zip
docs(todo): log mu4e org-contacts completion coverage under hardening
Diffstat (limited to 'todo.org')
-rw-r--r--todo.org20
1 files changed, 11 insertions, 9 deletions
diff --git a/todo.org b/todo.org
index c026dd8d..99268162 100644
--- a/todo.org
+++ b/todo.org
@@ -1876,15 +1876,17 @@ Add =(eval-when-compile (defvar contacts-file))= and
near the existing requires so the compile is clean and the
cross-module dependency is explicit at the top of the file.
-**** TODO [#C] Add coverage for =mu4e-org-contacts-integration.el= completion logic :tests:solo:
-
-No tests exist for =cj/org-contacts-completion-at-point=,
-=cj/mu4e-org-contacts-tab-complete=, =cj/mu4e-org-contacts-comma-
-complete=, or =cj/mu4e-org-contacts-insert-email=. The header-field
-detection (=mail-abbrev-in-expansion-header-p=) and the TAB-cycle
-branch are the highest-value coverage targets. Stub
-=cj/get-all-contact-emails= and run against a temp buffer in
-=mu4e-compose-mode= / =org-msg-edit-mode= where applicable.
+**** 2026-05-25 Mon @ 17:10:47 -0500 Added mu4e org-contacts completion coverage
+
+Added =tests/test-mu4e-org-contacts-integration.el= (10 tests). The capf
+(cj/org-contacts-completion-at-point) is checked for the header-field and
+compose-mode gating both ways, the bounds/table it returns when contacts
+exist, and the empty-contacts case. TAB (cj/mu4e-org-contacts-tab-complete)
+is checked across all three branches: completion-at-point in a header,
+org-cycle in the org-msg body, indent elsewhere. Comma completion and the
+direct-insert no-op-outside-header path round it out. mail-abbrev-in-expansion-header-p,
+the mode actions, and cj/get-all-contact-emails are stubbed, so the run is
+headless with no mu4e/org-contacts dependency.
*** DOING [#B] Harden programming workflow modules :harden: