From 98c7dae5c2ae6253d887cfd4fa4fb0b969af0d7c Mon Sep 17 00:00:00 2001 From: Adrian Likins Date: Wed, 15 Oct 2008 22:10:06 -0400 Subject: Add in some support for test coverage. test/unittest/plugins/*: add a funccover nosetest plugin that can write out code coverage attribution information cover_to_html.py: script to convert coverage information to html output. This isn't integrated into the test scripts yet, but should work for manually ran tests. See plugins/README for more info --- test/unittest/plugins/setup.py | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 test/unittest/plugins/setup.py (limited to 'test/unittest/plugins/setup.py') diff --git a/test/unittest/plugins/setup.py b/test/unittest/plugins/setup.py new file mode 100644 index 0000000..b3a6464 --- /dev/null +++ b/test/unittest/plugins/setup.py @@ -0,0 +1,24 @@ +import sys +try: + import ez_setup + ez_setup.use_setuptools() +except ImportError: + pass + +from setuptools import setup + +setup( + name='func coverage output pluin', + version='0.1', + author='Adrian Likins', + author_email = 'alikins@redhat.com', + description = 'extended coverage output', + license = 'public domain', + py_modules = ['funccover'], + entry_points = { + 'nose.plugins': [ + 'funccoverplug = funccover:FuncCoverage' + ] + } + + ) -- cgit