Previously Fred Drake wrote:
> On Nov 15, 2007 9:35 AM, Tres Seaver <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]>    It is simple to make things.
http://www.wiggy.net/                   It is hard to make things simple.
_______________________________________________
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )

Reply via email to