Jorge Vargas wrote: > there have been some talk on the list about improving the buildin > testing framework maybe even create a "browser" object that will > behave as a real client,
There's a couple options for black-box testing of web apps: paste.fixture (works directly on WSGI apps, or over HTTP using paste.proxy), zope.testbrowser, and twill (the latter two work over HTTP and require wsgi_intercept to work without a server). If you are still doing testing in the style I saw at PyCon (poking CherryPy and looking for side effects), I'd strongly recommend moving to something more black box and more representative of a real request. As for the three options I give, twill is kind of its own test runner (a nose extension might be possible), zope.testbrowser kind of expects to be run in a doctest, and paste.fixture.TestApp emphasizes more sanity checks (these can be a bit more implicit in a doctest). -- Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears Trunk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears-trunk?hl=en -~----------~----~----~----~------~----~------~--~---
