]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - doc/todo/test_coverage.mdwn
add wishlist tag to hopefully get the attention of Joey
[git.ikiwiki.info.git] / doc / todo / test_coverage.mdwn
1 [[!tag patch]]
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 * The [[plugins/git]] and [[plugins/mercurial]] plugins want to `chdir`,
15   and so does [[!cpan Devel::Cover]], so they fight. For now, those tests
16   are disabled under `make coverage`.
18 --[[smcv]]