Re: Test fixture concepts

Tres Seaver <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 03/28/2011 10:56 AM, Wolfgang Schnerring wrote:
> Hello,
> 
> * Jim Fulton <[email protected]> [2011-03-28 10:04]:
>> More generally, I'd love to see us adopt another test runner so that
>> we can stop maintianing zope.testrunner.  When it was written at
>> the turn of the century, there weren't good alternatives.  Personally,
>> I think maintaining it is boring.
> 
> I agree, it would be nice to get out of the test runner business, just
> as we're getting out of the networking business more and more courtesy
> of WSGI. But I'm wary of throwing out the baby with the bathwater,
> zope.testrunner has quite a few features under the hood that are
> really useful, which I'm not sure other test runners have, and I
> definitely wouldn't want to lose. Layers are the most prominent, of
> course, but then there's post-mortem debugging (-D), coverage
> integration, ... the list goes on for a few more items, I'm certain.
> 
> I guess, apart from the layer issue (see other messages in this
> thread), some research and write-up would be a good idea to get a
> feeling what the other test runners are like and how they measure up
> against zope.testrunner. A quick google search turns up nothing
> appropriate, so I might do a comparison of zope.testrunner, py.test
> and nose, but that's going to take a while.

nose supports post-mortem debugging, and integrates nicely with Net
Batchelder's 'coverage' tool.  It's extension interface uses setuptools
entry points, and is reasonably well documented:

 http://somethingaboutorange.com/mrl/projects/nose/1.0.0/plugins/writing.html



Tres.
- -- 
===================================================================
Tres Seaver          +1 540-429-0999          [email protected]
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk2QrXIACgkQ+gerLs4ltQ4SgwCfRXRljDcSF+4jh6f8Qr5Lk/gX
EHwAoKsM2w8vIKG7hOriFYXQnViEt8RI
=6G8m
-----END PGP SIGNATURE-----

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