Explicit plain, html, and xml coverage report sections added.
svn path=/plone.app.discussion/trunk/; revision=40237
This commit is contained in:
parent
d70f236ed9
commit
c444c74680
@ -10,8 +10,9 @@ parts +=
|
|||||||
test
|
test
|
||||||
pycoverage
|
pycoverage
|
||||||
coverage
|
coverage
|
||||||
report
|
coverage-plain
|
||||||
htmlreport
|
coverage-xml
|
||||||
|
coverage-html
|
||||||
jscoverage-build
|
jscoverage-build
|
||||||
jscoverage
|
jscoverage
|
||||||
pylint
|
pylint
|
||||||
@ -45,26 +46,31 @@ eggs = coverage
|
|||||||
initialization =
|
initialization =
|
||||||
sys.argv = sys.argv[:] + ['run', 'bin/test', '-k', '-q', '--xml']
|
sys.argv = sys.argv[:] + ['run', 'bin/test', '-k', '-q', '--xml']
|
||||||
|
|
||||||
[report]
|
[coverage-plain]
|
||||||
recipe = zc.recipe.egg
|
recipe = zc.recipe.egg
|
||||||
eggs = coverage
|
eggs = coverage
|
||||||
scripts = coverage=report
|
scripts = coverage=coverage-plain
|
||||||
initialization =
|
initialization =
|
||||||
eggs = '${buildout:eggs-directory}'
|
exclude = '--omit=' + '${buildout:package-directory}/tests/*'
|
||||||
bin = '${buildout:directory}/bin'
|
include = '--include=' + '${buildout:package-directory}/*.py'
|
||||||
exclude = '--omit=' + 'plone/app/discussion/tests/*'
|
sys.argv = sys.argv[:] + ['report', '-i', include, exclude]
|
||||||
include = '--include=' + 'plone/app/discussion/*.py'
|
|
||||||
|
[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]
|
sys.argv = sys.argv[:] + ['xml', '-i', include, exclude]
|
||||||
|
|
||||||
[htmlreport]
|
[coverage-html]
|
||||||
recipe = zc.recipe.egg
|
recipe = zc.recipe.egg
|
||||||
eggs = coverage
|
eggs = coverage
|
||||||
scripts = coverage=htmlreport
|
scripts = coverage=coverage-html
|
||||||
initialization =
|
initialization =
|
||||||
eggs = '${buildout:eggs-directory}'
|
exclude = '--omit=' + '${buildout:package-directory}/tests/*'
|
||||||
bin = '${buildout:directory}/bin'
|
include = '--include=' + '${buildout:package-directory}/*.py'
|
||||||
exclude = '--omit=' + 'plone/app/discussion/tests/*'
|
|
||||||
include = '--include=' + 'plone/app/discussion/*.py'
|
|
||||||
sys.argv = sys.argv[:] + ['html', '-i', include, exclude]
|
sys.argv = sys.argv[:] + ['html', '-i', include, exclude]
|
||||||
|
|
||||||
[jscoverage-build]
|
[jscoverage-build]
|
||||||
|
Loading…
Reference in New Issue
Block a user