Test coverage added to test-plone4 buildout.

svn path=/plone.app.discussion/trunk/; revision=38666
This commit is contained in:
Timo Stollenwerk 2010-08-09 13:05:07 +00:00
parent 7a2f1ff12b
commit f9766aeeb6

View File

@ -4,7 +4,29 @@ extends =
package-name = plone.app.discussion package-name = plone.app.discussion
parts +=
coverage-test
coverage-report
[versions] [versions]
zope.schema = 3.6.0 zope.schema = 3.6.0
Sphinx = 0.6.4 Sphinx = 0.6.4
Products.TinyMCE = 1.1.1 Products.TinyMCE = 1.1.1
[test]
recipe = collective.xmltestreport
eggs = ${buildout:package-name}
defaults = ['--exit-with-status', '--auto-color', '--auto-progress',
'--verbose', '--ndiff']
[coverage-test]
recipe = zc.recipe.testrunner
eggs = ${buildout:package-name}
defaults = ['--coverage', '../../coverage', '-v', '--auto-progress']
[coverage-report]
recipe = zc.recipe.egg
eggs = z3c.coverage
scripts = coveragereport=coverage-report
arguments = ('coverage', 'report')