aboutsummaryrefslogtreecommitdiff
path: root/doc/todo/test_coverage.mdwn
diff options
context:
space:
mode:
authorSimon McVittie <smcv@debian.org>2011-11-09 23:49:30 +0000
committerSimon McVittie <smcv@debian.org>2011-11-09 23:49:30 +0000
commit6b4351acbaf91b5420e9e5aba985b3f1378bb966 (patch)
tree2c64b2ac2e5c4a3085de339396292d9c692fca5d /doc/todo/test_coverage.mdwn
parentcbea2d78d2153b3af29d80fc6d3992304c981a70 (diff)
downloadikiwiki-6b4351acbaf91b5420e9e5aba985b3f1378bb966.tar
ikiwiki-6b4351acbaf91b5420e9e5aba985b3f1378bb966.tar.gz
request test coverage machinery, propose branch
Diffstat (limited to 'doc/todo/test_coverage.mdwn')
-rw-r--r--doc/todo/test_coverage.mdwn18
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/todo/test_coverage.mdwn b/doc/todo/test_coverage.mdwn
new file mode 100644
index 000000000..4c0e9e16c
--- /dev/null
+++ b/doc/todo/test_coverage.mdwn
@@ -0,0 +1,18 @@
+[[!tag patch]]
+[[!template id=gitbranch branch=smcv/coverage author="[[smcv]]"]]
+
+It would be nice for `make coverage` (or something) to produce a HTML
+test-coverage report. I found this very useful for test-driven development of
+[[plugins/contrib/trail]].
+
+Limitations of the current branch, which uses [[!cpan Devel::Cover]]:
+
+* Some tests use `./blib` and some use `.` so coverage gets split between
+ the two copies of each module; not a problem for [[plugins/contrib/trail]]
+ which only has one test.
+
+* The [[plugins/git]] and [[plugins/mercurial]] plugins want to `chdir`,
+ and so does [[!cpan Devel::Cover]], so they fight. For now, those tests
+ are disabled under `make coverage`.
+
+--[[smcv]]