[Python-ideas] PyUnit

Antoine Pitrou solipsis at pitrou.net
Thu Jun 19 12:07:49 CEST 2008


Hi,

> I've made some improvements to PyUnit which adds the concept of
> skipped test (when, for instance, the setUp fails), and some other
> stuff. This changes are test-code-wise backward compatible, in the
> sense that old tests will just work. But since the output of running
> the tests is different, tools using that output, at any level (reading
> the text, or running the tests programatically) will fail. I think it
> would be possible to have a switch somewhere to even then make them
> backward compatible.
> 
> Are there any chances of getting this code in Python 3k?

It would probably be welcome. There are even open issues for unittest
improvement in the bug tracker:
http://bugs.python.org/issue2578
http://bugs.python.org/issue2153
http://bugs.python.org/issue1034053

Unfortunately it seems nobody has had the time or motivation to finally
solve them.

Regards

Antoine.




More information about the Python-ideas mailing list