[TIP] Fwd: Test runners for unittest based tests

jason pellerin jpellerin at gmail.com
Wed Feb 28 12:56:07 PST 2007


One more try... will it actually make it to the list this time?

On 2/28/07, Grig Gheorghiu <grig at gheorghiu.net> wrote:
> --- 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

(Actually sending to the list this time.... )

Grig types faster than I do ... at least when I'm supposed to be
listening to my conference call. ;)

This is the basic use case for nose/nosetests: I just wrote a bunch of
unit tests and now I want to run some or all of them.

JP



More information about the testing-in-python mailing list