Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

47 lines (29 sloc) 1.605 kB

Testing tools for WSGI

Any HTTP-based testing system can be used with WSGI applications.

Obviously any HTTP testing system can test any HTTP application.

However, some testing frameworks work more intimately with WSGI, and provide the ability the call WSGI applications in a controlled environment, with tracebacks and full use of debugging tools.

WSGI Intercept

Intercepts normal Python calls to httplib, and redirects them to a WSGI application running in-process. Any testing tools written in Python can be made to test WSGI applications in-process.

Twill

See Testing WSGI Apps with twill for a description of the specifics on plugging these together. WSGI Intercept was originally written for Twill.

WebTest

Extraction of paste.fixture.TestApp, rewriting portions to use WebOb.

Allows for testing WSGI applications without having to start a WSGI server.

cherrypy.test.webtest

Extensions to unittest for web frameworks.

webunit

Unit test your websites with code that acts like a web browser.

zope.testbrowser

An easy to use programmatic web browser with special focus on testing. Used in Zope 3, but not Zope specific.
Jump to Line
Something went wrong with that request. Please try again.