Previously Fred Drake wrote:
On Nov 15, 2007 9:35 AM, Tres Seaver <tseaver@palladion.com> wrote:
- Making sure that the tests can psss for somebody who is not a core Zope developer, (and therefore who doesn't know about zc.buildout, or want to). E.g.:
$ /path/to/python setup.py develop $ /path/to/python setup.py test
How many people actually use "setup.py test" for a package they aren't developing?
Generally, when I download a package, I don't expect to know a priori how to run the tests. Given the number of testing frameworks and tools commonly used for Python these days (nose, trial, py.test, etc.), I'm certainly not going to assume that the setuptools solution was chosen.
nose hooks perfectly in setup.py test. In fact I generally run nose that way. It should be possible to hook the zope testrunner into the setup.py test_suite hook as well. Wichert. -- Wichert Akkerman <wichert@wiggy.net> It is simple to make things. http://www.wiggy.net/ It is hard to make things simple.