[Zope-dev] setup.py "extra" dependencies

Christian Theune ct at gocept.com
Mon Mar 23 09:44:39 EDT 2009


On Mon, 2009-03-23 at 14:20 +0100, Wichert Akkerman wrote:
> On 3/23/09 12:57 PM, Chris Withers wrote:
> > Christian Theune wrote:
> >>>>> Wichert.
> >>>> Be aware of nose issue #102:
> >>>>
> >>>>   http://code.google.com/p/python-nose/issues/detail?id=102
> >>> Is there a particular reason to keep using the test_suite convention?
> >>> Personally I much prefer nose's habit of automatically picking up
> >>> tests.
> >>
> >> I think there is not. One of the reasons I refactored the test runner a
> >> while ago was to make it possible to support a less-boilerplate-heavy
> >> scheme of getting tests set up.
> >
> > Well okay, but without test_suite, how do you quickly and easilly 
> > disable a class full of tests while you work on something else that 
> > will break them but that you don't want to deal with just yet?
> 
> nose has a --exclude option

I usually just run the tests that I'm interested (-s or -t or a
combination) in during those times. I never had to go in and comment out
a test_suite function.

-- 
Christian Theune · ct at gocept.com
gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 7 · fax +49 345 1229889 1
Zope and Plone consulting and development
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://mail.zope.org/pipermail/zope-dev/attachments/20090323/1ac78655/attachment.bin 


More information about the Zope-Dev mailing list