[TIP] pytest and nose - what's to choose between them?

jason pellerin jpellerin at gmail.com
Tue Aug 13 11:36:05 PDT 2013


On Tue, Aug 13, 2013 at 2:07 PM, Barry Warsaw <barry at python.org> wrote:

>
> On the positive side, I've had to change almost nothing about the
> structure of
> my existing tests to migrate to nose.  My existing fixtures mostly work,
> although I did have to do some reorganization to work around the
> assumptions
> imposed by zc.testing's layer arrangement.  Instead of using layers, I now
> use
> a base class.
>

I don't want to derail the discussion (too much, at least) but I wanted to
note that nose2 supports zope-style test layers, in case you end up with
base-class remorse and want to go back.
https://nose2.readthedocs.org/en/latest/plugins/layers.html has the details.

JP
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.idyll.org/pipermail/testing-in-python/attachments/20130813/324bff54/attachment.htm>


More information about the testing-in-python mailing list