From d70f236ed99eed86c5b920cc3aa0d1a96725a91e Mon Sep 17 00:00:00 2001 From: Timo Stollenwerk Date: Fri, 24 Sep 2010 22:45:10 +0000 Subject: [PATCH] Fix tests directory exclusion, added htmlreport section. svn path=/plone.app.discussion/trunk/; revision=40235 --- test-plone-4.0.x.cfg | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/test-plone-4.0.x.cfg b/test-plone-4.0.x.cfg index 817887f..709e243 100644 --- a/test-plone-4.0.x.cfg +++ b/test-plone-4.0.x.cfg @@ -11,6 +11,7 @@ parts += pycoverage coverage report + htmlreport jscoverage-build jscoverage pylint @@ -51,10 +52,21 @@ scripts = coverage=report initialization = eggs = '${buildout:eggs-directory}' bin = '${buildout:directory}/bin' - exclude = '--omit=' + 'plone/app/discussion/tests' + exclude = '--omit=' + 'plone/app/discussion/tests/*' include = '--include=' + 'plone/app/discussion/*.py' sys.argv = sys.argv[:] + ['xml', '-i', include, exclude] +[htmlreport] +recipe = zc.recipe.egg +eggs = coverage +scripts = coverage=htmlreport +initialization = + eggs = '${buildout:eggs-directory}' + bin = '${buildout:directory}/bin' + exclude = '--omit=' + 'plone/app/discussion/tests/*' + include = '--include=' + 'plone/app/discussion/*.py' + sys.argv = sys.argv[:] + ['html', '-i', include, exclude] + [jscoverage-build] recipe = zc.recipe.cmmi url = http://siliconforks.com/jscoverage/download/jscoverage-0.5.tar.bz2