[Checkins] SVN: Sandbox/gotcha/z3c.taskqueue/ add test coverage

Godefroid Chapelle gotcha at bubblenet.be
Mon Mar 8 11:52:32 EST 2010


Log message for revision 109841:
  add test coverage

Changed:
  _U  Sandbox/gotcha/z3c.taskqueue/
  U   Sandbox/gotcha/z3c.taskqueue/buildout.cfg

-=-

Property changes on: Sandbox/gotcha/z3c.taskqueue
___________________________________________________________________
Modified: svn:ignore
   - develop-eggs
bin
parts
.installed.cfg

   + develop-eggs
bin
parts
.installed.cfg
coverage


Modified: Sandbox/gotcha/z3c.taskqueue/buildout.cfg
===================================================================
--- Sandbox/gotcha/z3c.taskqueue/buildout.cfg	2010-03-08 16:43:09 UTC (rev 109840)
+++ Sandbox/gotcha/z3c.taskqueue/buildout.cfg	2010-03-08 16:52:31 UTC (rev 109841)
@@ -1,6 +1,6 @@
 [buildout]
 develop = .
-parts = py test
+parts = py test test-coverage z3c.coverage
 
 [test]
 recipe = zc.recipe.testrunner
@@ -11,3 +11,15 @@
 recipe = zc.recipe.egg
 interpreter = python
 eggs = z3c.taskqueue
+
+[test-coverage]
+recipe = zc.recipe.testrunner
+eggs = ${test:eggs}
+defaults = ['--coverage', '${buildout:directory}/coverage', '--auto-progress']
+extra-paths =
+
+[z3c.coverage]
+recipe = zc.recipe.egg
+eggs = z3c.coverage
+scripts = coverage
+arguments = ('coverage', 'coverage/report')



More information about the checkins mailing list