[moving discussion to python-dev from pydotorg] On Fri, Mar 06, 2009, Bill Janssen wrote: > Michael Foord <michael at voidspace.org.uk> wrote: >> Bill Janssen wrote: >>> Steve Holden <steve at holdenweb.com> wrote: >>>> >>>> Seems to me it might be better to have a test start a local server then >>>> kill it, but I am presuming you have some good reason why this is not >>>> practical? >>> >>> It seems a steep learning curve just to run the Python test suite, to >>> have to know how to install an IMAP server on your machine. But perhaps >>> you're right. >> >> Does it need to test against a real server - can't some of the lower >> calls be mocked out? > > Not really. These *are* the lower-level calls. One thing I haven't seen addressed in this discussion is why it's undesirable to ship Twisted as part of the testing source tree. Yes, I realize that it could create an "attractive nuisance", but I think the gains in simplifying testing outweigh that. -- Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ "All problems in computer science can be solved by another level of indirection." --Butler Lampson
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4