unittest, how to recursively run tests?

Ben Finney bignose+hates-spam at benfinney.id.au
Mon May 19 19:05:34 EDT 2008


fredbasset1000 at gmail.com writes:

> Does anyone know of a good way to execute all unit tests present in a
> project from the project root dir?
> Ideally I'd like a mechanism that does not require the tests/files to
> be manually listed in the source (e.g. via the suite mechanism).

nose: A discovery-based unittest extension.

    <URL:http://somethingaboutorange.com/mrl/projects/nose/>

Available in Debian GNU/Linux in the 'python-nose' package; probably
available in most others too.

-- 
 \         "Simplicity and elegance are unpopular because they require |
  `\           hard work and discipline to achieve and education to be |
_o__)                                appreciated." —Edsger W. Dijkstra |
Ben Finney



More information about the Python-list mailing list