Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
60 lines (46 sloc) 1.06 KB
[buildout]
#extensions = mr.developer
extends-cache = cache
eggs-directory = /srv/zope/eggs
develop = .
parts =
scripts
xmltestrunner
coverage
report
test
versions = versions
[scripts]
recipe = zc.recipe.egg
eggs =
on.video
zest.releaser
ZopeSkel
PasteScript
PasteDeploy
Paste
zopeskel.dexterity
[test]
recipe = zc.recipe.testrunner
defaults = ['--tests-pattern', '^f?tests$', '-v']
eggs = on.video [test]
[xmltestrunner]
recipe = collective.xmltestreport
eggs = ${test:eggs}
defaults = ${test:defaults} + ['--xml']
[coverage]
recipe = zc.recipe.egg
eggs = coverage
initialization =
sys.argv = sys.argv[:] + ['run',
'bin/xmltestrunner', '-k', '-q', '--xml']
[report]
recipe = zc.recipe.egg
eggs = coverage
scripts = coverage=report
initialization =
eggs = '${buildout:eggs-directory}'
bin = '${buildout:directory}/bin'
exclude = '--omit=' + ','.join([eggs, sys.prefix, bin])
include = '--include=' + '${buildout:directory}/on/video/**'
sys.argv = sys.argv[:] + ['xml', '-i', exclude, include]