On 22/6/26 14:13, Ludovic Courtès wrote:
There is a "Code Coverage" section in the Guile manual [1], but that
seems unused in Guix. I suppose I could add that functionality to the
start of the `.scm` tests.
It would be great to do that, ideally through a CI job that would
publish the lcov HTML report.
If you’d like to dive into it, you can take inspiration from Gash, which
has makefile targets and scripts to produce test coverage reports.
Thanks, getting coverage looks way simpler than feared. Very scheme way
of approaching things. I'll do some experiments
And this is cool, a shell written in guile! (Now I wonder whether it is
feasible to somehow use gash to get coverage for the shell-based tests.)