[BangPypers] issues using constructor in unittest

Senthil Kumaran orsenthil at gmail.com
Mon Mar 14 12:56:56 CET 2011


On Mon, Mar 14, 2011 at 04:24:49AM -0700, Noufal Ibrahim wrote:
> Why don't you consider using an alternate test runner like nose or
> py.test?

When I first started using with Linux, it was quite common to hear
"Gentoo is great", "Debian the real distro", you should use that
instead of Mandrake/Redhat. I used feel excited as well confused. :)

But the best motivation for me was when someone really answered the
question or provided a technical reasoning for one thing over the
other.

> This whole XUnit style unit testing thing is not really necessary in
> the Python world. 

Why? It is very much part of python world. It is part of the stdlib,
because it is so easy to use.

There are easier frameworks like py.test which do a lot of
metaprogramming magic and make the testing fun, but that does not
count of removing xUnit style test, which can imbibe in you pattern to
think about tests.

-- 
Senthil


More information about the BangPypers mailing list