Fix tests directory exclusion, added htmlreport section.
svn path=/plone.app.discussion/trunk/; revision=40235
This commit is contained in:
parent
32702896b5
commit
d70f236ed9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user