Re: [Zope-dev] zope.testing coverage support

2010-01-26 Thread Christian Theune
On 01/18/2010 05:34 AM, Martin Aspeli wrote: 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

Re: [Zope-dev] zope.testing coverage support

2010-01-26 Thread Martin Aspeli
Christian Theune wrote: 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 That's a typo, right? D'oh; z3c.coverage, I meant. way that I can see to understand how the package is meant to be used from

Re: [Zope-dev] zope.testing coverage support

2010-01-26 Thread Stephan Richter
On Sunday 17 January 2010, Martin Aspeli wrote: 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

Re: [Zope-dev] zope.testing coverage support

2010-01-25 Thread Christian Theune
On 01/17/2010 04:34 PM, Martin Aspeli wrote: Attila Oláh wrote: You can get the same result as with `pwd` by using --coverage=../../coverage D'oh! The current path is parts/test (via zc.recipe.testrunner). I did *not* expect that. I think this needs to be documented at least, though I

[Zope-dev] zope.testing coverage support

2010-01-17 Thread Martin Aspeli
Hi, A couple of questions about zope.testing's --coverage option: 1. When specifying the coverage output directory, I have to specify an absolute path: ./bin/test -s plone.caching --coverage=$(pwd)/coverage works ./bin/test -s plone.caching --coverage=coverage does not. Is this

Re: [Zope-dev] zope.testing coverage support

2010-01-17 Thread Attila Oláh
Hi, On Sun, Jan 17, 2010 at 16:08, Martin Aspeli optilude+li...@gmail.com wrote: Hi, A couple of questions about zope.testing's --coverage option:  1. When specifying the coverage output directory, I have to specify an absolute path: ./bin/test -s plone.caching --coverage=$(pwd)/coverage

Re: [Zope-dev] zope.testing coverage support

2010-01-17 Thread Hanno Schlichting
Hi. On Sun, Jan 17, 2010 at 4:08 PM, Martin Aspeli optilude+li...@gmail.com wrote: A couple of questions about zope.testing's --coverage option: I think the standard option is to use something like this buildout snippet: [coverage-test] recipe = zc.recipe.testrunner eggs = ${buildout:eggs}

Re: [Zope-dev] zope.testing coverage support

2010-01-17 Thread Stephan Richter
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

Re: [Zope-dev] zope.testing coverage support

2010-01-17 Thread Martin Aspeli
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',