nose2

The nose test framework started as a clone of pytest when pytest was at version 0.8. Its tagline is "nose extends unittest to make testing easier" (found at http://nose.readthedocs.org/en/latest/). All good things must come to an end, however; nose is currently in maintenance mode and it has been for several years.

As unittest only works on versions of Python 2.7 and greater, unittest2 was created as a backport for earlier versions. In addition to unittest's functionality, it also includes an improved API and better assertions. In effect, unittest2 is not only a backport but also a revision of unittest.

The changes to unittest were important enough that the successor to nose—imaginatively named nose2—was based on the unittest2 plugins branch. ...

Get Mastering IPython 4.0 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.