[bind10-dev] code coverage target changes and current coverage percentage
Jeremy C. Reed
jreed at isc.org
Mon Dec 27 22:17:39 UTC 2010
I added a python code coverage make target. Now you can generate the
python code coverage report using make. Use "./configure
--with-pycoverage" to enable and use "make coverage" to do python (and
c++) checks and generate code coverage reports. Or you may use the
python specific "make report-python-coverage". The HTML is placed at
coverage-python-html/ in your build tree. (Note we don't have separate
way to run the tests for c++ versus python yet.)
You can see a new report at:
http://bind10.isc.org/~tester/2010/12/20101227201650-4024/coverage-python-html/
(generated by the make target)
and old report (for same source revision) at:
http://bind10.isc.org/~tester/2010/12/20101227201650-4024/python-coverage/
(generated via a standalone, rarely maintained, script)
I will soon disable that old script.
You can see the latest report with
http://bind10.isc.org/~tester/LATEST_PYTHON_UNITTEST_COVERAGE/
It is currently at 65%. The significant problems are:
src/bin/bind10/bind10.py
src/bin/bindctl/bindcmd.py
src/bin/msgq/msgq.py
src/bin/xfrout/xfrout.py
src/lib/python/isc/datasrc/master.py
More information about the bind10-dev
mailing list