unittest vs py.test?

Colin J. Williams cjw at sympatico.ca
Fri Apr 1 17:37:37 EST 2005


Grig Gheorghiu wrote:
> In my mind, practicing TDD is what matters most. Which framework you
> choose is a function of your actual needs. The fact that there are 3 of
> them doesn't really bother me. I think it's better to have a choice
> from a small number of frameworks rather than have no choice or have a
> single choice that might not be the best for your specific environment
> -- provided of course that this doesn't evolve into a PyWebOff-like
> nightmare :-) 
> 
> Grig
> 
Grig,

Many thanks for your helpful essays.

unittest seems rather heavy.  I don't like mixing tests with 
documentation, it gives the whole thing a cluttered look.
Py.test is the more appealing but it doesn't appear to be
ready for packaging yet.

Thanks,

Colin W.



More information about the Python-list mailing list