Fix tests directory exclusion, added htmlreport section.

svn path=/plone.app.discussion/trunk/; revision=40235
This commit is contained in:
Timo Stollenwerk 2010-09-24 22:45:10 +00:00
parent 32702896b5
commit d70f236ed9

View File

@ -11,6 +11,7 @@ parts +=
pycoverage pycoverage
coverage coverage
report report
htmlreport
jscoverage-build jscoverage-build
jscoverage jscoverage
pylint pylint
@ -51,10 +52,21 @@ scripts = coverage=report
initialization = initialization =
eggs = '${buildout:eggs-directory}' eggs = '${buildout:eggs-directory}'
bin = '${buildout:directory}/bin' bin = '${buildout:directory}/bin'
exclude = '--omit=' + 'plone/app/discussion/tests' exclude = '--omit=' + 'plone/app/discussion/tests/*'
include = '--include=' + 'plone/app/discussion/*.py' include = '--include=' + 'plone/app/discussion/*.py'
sys.argv = sys.argv[:] + ['xml', '-i', include, exclude] 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] [jscoverage-build]
recipe = zc.recipe.cmmi recipe = zc.recipe.cmmi
url = http://siliconforks.com/jscoverage/download/jscoverage-0.5.tar.bz2 url = http://siliconforks.com/jscoverage/download/jscoverage-0.5.tar.bz2