2 [[!template id=gitbranch branch=smcv/coverage author="[[smcv]]"]]
4 It would be nice for `make coverage` (or something) to produce a HTML
5 test-coverage report. I found this very useful for test-driven development of
6 [[plugins/contrib/trail]].
8 Limitations of the current branch, which uses [[!cpan Devel::Cover]]:
10 * Some tests use `./blib` and some use `.` so coverage gets split between
11 the two copies of each module; not a problem for [[plugins/contrib/trail]]
12 which only has one test.
14 > How annoying. I think in at least some cases there is reason to use
15 > `./blib` -- perhaps everything that users `.` should be changed to use
18 * The [[plugins/git]] and [[plugins/mercurial]] plugins want to `chdir`,
19 and so does [[!cpan Devel::Cover]], so they fight. For now, those tests
20 are disabled under `make coverage`.
24 > [[merged|done]] --[[Joey]]