python unittest question
Paul Lussier
p.lussier at comcast.net
Wed Apr 29 13:11:47 EDT 2009
Lloyd Kvam <lkvam at venix.com> writes:
> On Tue, 2009-04-28 at 19:46 -0400, Paul Lussier wrote:
>> Is anyone here familiar with unit testing in python using the unittest
>> module? If so, I'm rather stumped on something.
>>
> The nosetests module (package probably named python-nose) will do what
> you want though it supports a different naming convention for your test
> modules.
>
> Essentially it looks for test*.py modules and runs them. It provides
> consistent ordering and reasonably smart reporting. You can use command
> line options to control essential aspects of your test runs.
>
> Highly recommended.
Fascinating. How does nosetest differ from unittest ? Is it a
built-in python module? Or do I have to download it from somewhere?
Pointers?
--
Thanks,
Paul
More information about the gnhlug-discuss
mailing list