[TIP] unittest2: backport of the new features in unittest for Python 2.7

J. Clifford Dyer jcd at sdf.lonestar.org
Sun Feb 28 20:18:06 PST 2010


I gotta say, I've been loving me some unittest2.  I mentioned it at the
latest TriZPUG meeting.

On Sun, 2010-02-28 at 23:49 +0000, Michael Foord wrote:
> Hello all,
> 
> I don't think I announced it properly on this list, so here goes:
> 
> In Python 2.7 and 3.2 a whole bunch of improvements to unittest will 
> arrive. ``unittest2`` is a backport of the new features (and tests)
> to work with Python 2.4, 2.5 & 2.6. The major changes include new assert 
> methods, clean up functions, assertRaises as a context manager, new 
> command line features, test discovery and the ``load_tests`` protocol.
> 
> * The unittest2 Library: http://pypi.python.org/pypi/unittest2
> * New and Improved: unittest2 article 
> http://www.voidspace.org.uk/python/articles/unittest2.shtml
> * Mercurial Development Repository: <http://hg.python.org/unittest2
> 
> All the best,
> 
> Michael
> 





More information about the testing-in-python mailing list