[TIP] some general unittest questions

Joe Riopel goon12 at gmail.com
Tue Jul 23 06:34:39 PDT 2013


On Tue, Jul 23, 2013 at 9:23 AM, Andres Riancho
<andres.riancho at gmail.com> wrote:
> On Tue, Jul 23, 2013 at 9:36 AM, Rita <rmorgan466 at gmail.com> wrote:
>> I am currently running it via discovery mode, python -m
>> unittest discover in my $ROOT location and things work very well!
>
> Use nosetests instead

We just made the switch to pytest and love it.

>> Another question, is there a tool which will document my tests and generate
>> a nice HTML page to describe the tests?
>
> There should be a nosetests plugin for writing nice reports

There is the HTMLTestRunner that works with the standard unittest
package. It works, but there might be better alternatives.



More information about the testing-in-python mailing list