Explicit plain, html, and xml coverage report sections added.

svn path=/plone.app.discussion/trunk/; revision=40237
This commit is contained in:
Timo Stollenwerk 2010-09-24 23:12:38 +00:00
parent d70f236ed9
commit c444c74680

View File

@ -10,8 +10,9 @@ parts +=
test
pycoverage
coverage
report
htmlreport
coverage-plain
coverage-xml
coverage-html
jscoverage-build
jscoverage
pylint
@ -45,26 +46,31 @@ eggs = coverage
initialization =
sys.argv = sys.argv[:] + ['run', 'bin/test', '-k', '-q', '--xml']
[report]
[coverage-plain]
recipe = zc.recipe.egg
eggs = coverage
scripts = coverage=report
scripts = coverage=coverage-plain
initialization =
eggs = '${buildout:eggs-directory}'
bin = '${buildout:directory}/bin'
exclude = '--omit=' + 'plone/app/discussion/tests/*'
include = '--include=' + 'plone/app/discussion/*.py'
exclude = '--omit=' + '${buildout:package-directory}/tests/*'
include = '--include=' + '${buildout:package-directory}/*.py'
sys.argv = sys.argv[:] + ['report', '-i', include, exclude]
[coverage-xml]
recipe = zc.recipe.egg
eggs = coverage
scripts = coverage=coverage-xml
initialization =
exclude = '--omit=' + '${buildout:package-directory}/tests/*'
include = '--include=' + '${buildout:package-directory}/*.py'
sys.argv = sys.argv[:] + ['xml', '-i', include, exclude]
[htmlreport]
[coverage-html]
recipe = zc.recipe.egg
eggs = coverage
scripts = coverage=htmlreport
scripts = coverage=coverage-html
initialization =
eggs = '${buildout:eggs-directory}'
bin = '${buildout:directory}/bin'
exclude = '--omit=' + 'plone/app/discussion/tests/*'
include = '--include=' + 'plone/app/discussion/*.py'
exclude = '--omit=' + '${buildout:package-directory}/tests/*'
include = '--include=' + '${buildout:package-directory}/*.py'
sys.argv = sys.argv[:] + ['html', '-i', include, exclude]
[jscoverage-build]