[TIP] unittest q: keeping track of the *right* number of tests

Gary Bernhardt gary.bernhardt at gmail.com
Mon Mar 23 14:32:13 PDT 2009


On Mon, Mar 23, 2009 at 5:14 PM, Marius Gedminas <marius at gedmin.as> wrote:
> I running pyflakes on the source tree (in buildbot) and watch for
> redefined function warnings.  Those have happened a few times, usually
> when you copy and paste a test and then forget to change the name.
>
> Having test coverage reports also helps discover tests that somehow got
> disabled.

+1 on both counts. Coverage reports on the tests are my preferred
solution, hands down.

-- 
Gary
http://blog.extracheese.org



More information about the testing-in-python mailing list