<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dotemacs/tests/test-coverage-elisp-helpers.el, branch load-graph-classify-end</title>
<subtitle>My Emacs configuration
</subtitle>
<id>https://git.cjennings.net/dotemacs/atom?h=load-graph-classify-end</id>
<link rel='self' href='https://git.cjennings.net/dotemacs/atom?h=load-graph-classify-end'/>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/dotemacs/'/>
<updated>2026-05-14T08:52:31+00:00</updated>
<entry>
<title>test(coverage-elisp): cover project-root resolution, report-path, run</title>
<updated>2026-05-14T08:52:31+00:00</updated>
<author>
<name>Craig Jennings</name>
<email>c@cjennings.net</email>
</author>
<published>2026-05-14T08:52:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/dotemacs/commit/?id=50921b82567cf266dcc95c686bad4e500b6eaba0'/>
<id>urn:sha1:50921b82567cf266dcc95c686bad4e500b6eaba0</id>
<content type='text'>
Sibling `test-coverage-elisp--detect.el` covered the detect heuristic. This batch fills in the rest:

- `cj/--coverage-elisp-project-root`: explicit arg wins, falls back to projectile, falls back to `default-directory`.
- `cj/--coverage-elisp-report-path`: appends `.coverage/simplecov.json` to the resolved root.
- `cj/--coverage-elisp-run`: launches `make coverage` via `compilation-start`, fires the callback with the report path on `finished` status, skips the callback on failure.

projectile and compilation-start are stubbed; the compilation buffer is a real buffer the test creates and tears down.
</content>
</entry>
</feed>
