[Zope-Coders] autotest.py / ZConfig questions
Chris Withers
chrisw at nipltd.com
Fri Sep 26 08:19:50 EDT 2003
(been playing with autotest.py, hope you don't mind the commits)
Chris Withers wrote:
> Basically:
>
> - send the result mails to another address
How would I do this using a command line option and ZConfig's command-line
override support for autotest.py?
> - not limit the size of the sent mail
Does autotest.py limit the size of the email sent?
If not, lemme know, and I'll make it do so :-)
> - allow you to override test.py parameters (so you can send -vv)
Again, how can I alter autotest.py to use ZConfig's command line override
support so that you can override the unit->test->script?
> - output _everything_ to the console as well as the email.
>
> This last bit is tricky though, how can you make the output of a
> popen{2,3} call go to stdout as it happens, rather than waiting until
> the process end?
I notice that autotest.py suffers from this problem too :-S
The reason I ask is that the standard (and correct) response when I report that
tests are hanging is:
"Re-run the tests with -vv and tell us which test is hanging"
I'd dearly love to be able to do that by providing a command line option to
autotest.py...
Any ideas?
Chris
More information about the Zope-Coders
mailing list