[Python-Dev] Converting tests to unittest/doctest?
qgallet at gmail.com
Fri Dec 21 16:02:21 CET 2007
(oops, realized I didn't send it to the list, just to Titus)
I remember that it was one of the tasks at the Python Sprint at Google last
summer, so I guess this is a good idea (for GHOP, right ?)
>From what remains of the spreadsheet used during the Sprint
I believe you can add the following tests to your list:
(and maybe test_pep277 that seems to use both unittest and test.test_support
On Dec 21, 2007 12:05 PM, Titus Brown <titus at caltech.edu> wrote:
> Hi all,
> a bit of grep'ping and personal examination discovered the following
> tests in trunk/ that could be converted to unittest or doctests. Any
> thoughts, pro or con?
> (I understand from Brett that the goal is to eradicate "old-style"
> tests, by which I think he means tests that do not use unittest or
> doctest. There are some good reasons to switch to using unittests, not
> least of which is that you can use a variety of frameworks (nose,
> py.test) to do value-added wrapping and management of such tests.)
> Suggestions for additional things to test or tests to modify, clean up,
> or extend and expand are welcome.
> Python-Dev mailing list
> Python-Dev at python.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-Dev