[Checkins] SVN: gocept.selenium/branches/gotcha-generator/ add optional coverage recipes

Godefroid Chapelle gotcha at bubblenet.be
Wed Jan 5 06:55:20 EST 2011


Log message for revision 119383:
  add optional coverage recipes
  

Changed:
  _U  gocept.selenium/branches/gotcha-generator/
  U   gocept.selenium/branches/gotcha-generator/plonetesting-plone3.cfg

-=-

Property changes on: gocept.selenium/branches/gotcha-generator
___________________________________________________________________
Modified: svn:ignore
   - develop-eggs
fake-eggs
var
downloads
bin
parts
.installed.cfg
dist
.mr.developer.cfg
devel

   + develop-eggs
fake-eggs
var
downloads
bin
parts
.installed.cfg
dist
.mr.developer.cfg
devel
coverage


Modified: gocept.selenium/branches/gotcha-generator/plonetesting-plone3.cfg
===================================================================
--- gocept.selenium/branches/gotcha-generator/plonetesting-plone3.cfg	2011-01-05 11:49:37 UTC (rev 119382)
+++ gocept.selenium/branches/gotcha-generator/plonetesting-plone3.cfg	2011-01-05 11:55:20 UTC (rev 119383)
@@ -24,6 +24,17 @@
 eggs += gocept.selenium [test_script]
 extra-paths = ${zope2:location}/lib/python
 
+[coverage-test]
+recipe = zc.recipe.testrunner
+eggs = ${test:eggs}
+defaults = ['--coverage', '${buildout:directory}/coverage']
+extra-paths = ${zope2:location}/lib/python
+
+[coverage-report]
+recipe = zc.recipe.egg
+eggs = z3c.coverage
+arguments = ('coverage', 'coverage/report')
+
 [omelette]
 recipe = collective.recipe.omelette
 eggs = ${test:eggs}



More information about the checkins mailing list