Re: unit test policy questions

Christian Theune <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Message-ID <[email protected]>
On 07/29/2010 02:17 PM, Jens Vagelpohl wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 7/29/10 14:00 , Martin Aspeli wrote:
>> On 29 July 2010 19:26, yuppie<[email protected]>  wrote:
>>> 1.) Is it still policy to add these lines?
>>>
>>> 2.) Is there a better solution for using zope testrunner than the one
>>> shown above?
>>
>> I never do either. I install zc.recipe.testrunner in a buildout and
>> use bin/test, which picks up tests in modules automatically.
>
> Same here. I have never in my life run tests by executing the module.
> The options provided by the testrunner to pare down what I want to test
> have always been sufficient for me.
>
> I have had a tendency to add these blurbs myself, thinking "I guess it's
> useful for *someone*". But IMHO it's like those CVS/SVN $Id$ snippets,
> it's not really useful anymore.

Fullack.

Even better: the current test runner even lets you avoid the test_suite 
function in many cases.


-- 
Christian Theune · [email protected]
gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 0 · fax +49 345 1229889 1
Zope and Plone consulting and development

_______________________________________________
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.