Re: zope.testing coverage support

Martin Aspeli <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Message-ID <[email protected]>
Stephan Richter wrote:
> On Sunday 17 January 2010, Martin Aspeli wrote:
>> I'm using zope.testing-3.7.7, which is what comes with Zope 2.12.
>
> Here is what I have in effectively any package:
>
> [coverage-test]
> recipe = zc.recipe.testrunner
> eggs = pkg [test]
> defaults = ['--coverage', '../../coverage']
>
> [coverage-report]
> recipe = zc.recipe.egg
> eggs = z3c.coverage
> scripts = coverage=coverage-report
> arguments = ('coverage', 'coverage/report')

Thanks!

As a matter of constructive criticism, it would be useful to have 
something like this on the z3c.caching PyPI page. Right now, there is no 
way that I can see to understand how the package is meant to be used 
from that page, or any of the other documentation.

It'd also be useful to note that enscript must be installed for syntax 
highlighting to work. I only figured that out by reading the source.

Martin

-- 
Author of `Professional Plone Development`, a book for developers who
want to work with Plone. See http://martinaspeli.net/plone-book

_______________________________________________
Zope-Dev maillist  -  [email protected]
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.