Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Zope: Dev

Exposing a zope-testrunner binary in zope.testing

 

 

Zope dev RSS feed   Index | Next | Previous | View Threaded


brian at vanguardistas

Jun 14, 2009, 11:53 PM

Post #1 of 2 (542 views)
Permalink
Exposing a zope-testrunner binary in zope.testing

Hi,

Any objections to me adding this line to zope.testing's setup.py:

entry_points = {'console_scripts': ['zope-testrunner = zope.testing.testrunner:run',]},

It'll create a zope-testrunner binary which we would like to use in
automatically testing zope Debian packages from the command line.
Currently the test scripts look like:

http://svn.debian.org/viewsvn/pkg-zope/zope.component/trunk/debian/tests/all?revision=1397&view=markup

Which is pretty scary...

--
Brian Sutherland
_______________________________________________
Zope-Dev maillist - Zope-Dev [at] zope
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 )


chris at simplistix

Jun 15, 2009, 12:24 AM

Post #2 of 2 (495 views)
Permalink
Re: Exposing a zope-testrunner binary in zope.testing [In reply to]

Brian Sutherland wrote:
>
> Any objections to me adding this line to zope.testing's setup.py:
>
> entry_points = {'console_scripts': ['zope-testrunner = zope.testing.testrunner:run',]},

I don't know enough to comment on whether that's the right way or not,
but I've felt for ages that zope.testrunner's uptake has been limited by
the fact that you basically need to use buildout before you can use it.

So, anything that makes is usable in a normal python environment would
be great :-)

Chris

--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
_______________________________________________
Zope-Dev maillist - Zope-Dev [at] zope
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 )

Zope dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.