Skip to content

Test-debt batch: cider-log/cider-repl coverage, shadow-cljs re-enable#4074

Merged
bbatsov merged 3 commits into
masterfrom
test-debt-elisp
Jul 3, 2026
Merged

Test-debt batch: cider-log/cider-repl coverage, shadow-cljs re-enable#4074
bbatsov merged 3 commits into
masterfrom
test-debt-elisp

Conversation

@bbatsov

@bbatsov bbatsov commented Jul 3, 2026

Copy link
Copy Markdown
Member

Pre-2.0 safety-net work:

  • cider-log goes from 16 to 47 specs (dict accessors, request construction, state builders, event display path) and cider-repl gains coverage for the recently added rich-content surface plus the banner fallbacks (full suite: 999 -> 1041 specs).
  • Writing the tests surfaced three small cider-log blemishes, fixed in the first commit: a confirmation message with its arguments swapped, cider-log-buffer-clear-p reading as the opposite of its behavior (renamed, old name aliased), and two copy-paste docstrings.
  • The shadow-cljs integration test is back: it was disabled in March over shadow-cljs 2.20.13 vs nREPL 1.6, and current shadow-cljs (3.4.11) is fine - passes locally in ~28s.

Companion orchard PR clojure-emacs/orchard#407 (already merged) covered that repo's untested namespaces.

bbatsov added 3 commits July 3, 2026 22:50
cider-log-kill-appender's message had the appender and framework
swapped, cider-log-buffer-clear-p read as the opposite of its behavior
(now cider-log-buffer-has-content-p, old name aliased), and two
docstrings were copy-paste leftovers.
cider-log's 61KB got by on 16 specs; now 47, covering the dict
accessors, request construction, state builders and the event display
path.  cider-repl grows specs for the recently added rich-content
surface (verbatim emitter, html handler, external-body buttons, the
handler alist) plus the Babashka/basic banner fallbacks.
It was disabled in March because shadow-cljs 2.20.13 broke against
nREPL 1.6's wrap-describe arity change; current shadow-cljs releases
are built against modern nREPL.  Passes locally in ~28s.
@bbatsov bbatsov merged commit c52f666 into master Jul 3, 2026
12 checks passed
@bbatsov bbatsov deleted the test-debt-elisp branch July 3, 2026 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant