[TIP] Test runners for unittest based tests

Grig Gheorghiu grig at gheorghiu.net
Wed Feb 28 12:42:27 PST 2007


--- bear <bear42 at gmail.com> wrote:

> As I embark on yet another tweak to some custom bash code that runs
> our unit
> and functional tests I thought about the new list :)
> 
> So, my question for the guru's of test is:  what code do you use to
> run all
> (or some) unittest.TestCase files?

One possible way: use the nose test collector and runner, called
nosetests.

Resources:

http://ivory.idyll.org/articles/nose-intro.html
http://somethingaboutorange.com/mrl/projects/nose/#usage

Grig



More information about the testing-in-python mailing list