Initial nose experience

Ben Finney ben+python at
Mon Jul 16 14:37:58 CEST 2012

Roy Smith <roy at> writes:

> In article <mailman.2149.1342375358.4697.python-list at>,
>  python at wrote:
> > After years of using unittest, what would you say are the pros and
> > cons of nose?
> BTW, although I'm currently using nose just as a unittest aggregator

Be aware that Python 2.7 and higher has unit test discovery in the
standard library:

    $ python -m unittest discover

will look through all packages within the current directory and collect
unit tests it finds, then run them and report

You can get the same in earlier versions of Python with ‘unittest2’

 \           “I prayed for twenty years but received no answer until I |
  `\          prayed with my legs.” —Frederick Douglass, escaped slave |
_o__)                                                                  |
Ben Finney

More information about the Python-list mailing list