[Checkins] SVN: zope.pagetemplate/trunk/ Added test coverage reporting support.

Tres Seaver tseaver at palladion.com
Mon May 25 15:06:25 EDT 2009


Log message for revision 100366:
  Added test coverage reporting support.
  

Changed:
  _U  zope.pagetemplate/trunk/
  U   zope.pagetemplate/trunk/CHANGES.txt
  U   zope.pagetemplate/trunk/buildout.cfg

-=-

Property changes on: zope.pagetemplate/trunk
___________________________________________________________________
Modified: svn:ignore
   - bin
build
dist
lib
develop-eggs
eggs
parts
.installed.cfg

   + bin
build
coverage
dist
lib
develop-eggs
eggs
parts
.installed.cfg


Modified: zope.pagetemplate/trunk/CHANGES.txt
===================================================================
--- zope.pagetemplate/trunk/CHANGES.txt	2009-05-25 18:57:21 UTC (rev 100365)
+++ zope.pagetemplate/trunk/CHANGES.txt	2009-05-25 19:06:25 UTC (rev 100366)
@@ -5,6 +5,8 @@
 3.5.0 (unreleased)
 ------------------
 
+- Added test coverage reporting support.
+
 - Moved 'engine' module and related test scaffolding here from
   ``zope.app.pagetemplate`` package.
 

Modified: zope.pagetemplate/trunk/buildout.cfg
===================================================================
--- zope.pagetemplate/trunk/buildout.cfg	2009-05-25 18:57:21 UTC (rev 100365)
+++ zope.pagetemplate/trunk/buildout.cfg	2009-05-25 19:06:25 UTC (rev 100366)
@@ -1,7 +1,18 @@
 [buildout]
 develop = .
-parts = test
+parts = test coverage-test coverage-report
 
 [test]
 recipe = zc.recipe.testrunner
 eggs = zope.pagetemplate [test]
+
+[coverage-test]
+recipe = zc.recipe.testrunner
+eggs = zope.pagetemplate [test]
+defaults = ['--coverage', '../../coverage']
+
+[coverage-report]
+recipe = zc.recipe.egg
+eggs = z3c.coverage
+scripts = coverage=coverage-report
+arguments = ('coverage', 'coverage/report')



More information about the Checkins mailing list