Changes between Version 71 and Version 72 of DeveloperGuidelinesTesting
- Timestamp:
- 01/24/09 15:38:39 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DeveloperGuidelinesTesting
v71 v72 57 57 == Doc Tests == 58 58 Agile documentation which can be run using Web2Py's Admin UI. 59 * http://www.python.org/doc/2.6/library/doctest.html 59 60 * e.g. http://127.0.0.1:8000/admin/default/test/sahana/default.py 60 We have a module which uses [http://code.google.com/p/wsgi-intercept wsgi_intercept] & [http://cherrypy.org CherryPy]'s [http://cherrypy.org/browser/trunk/cherrypy/test/webtest.py WebTest]: {{{modules/s3_test.py}}} [[BR]]61 To extend these to web applications, we have a module which uses [http://code.google.com/p/wsgi-intercept wsgi_intercept] & [http://cherrypy.org CherryPy]'s [http://cherrypy.org/browser/trunk/cherrypy/test/webtest.py WebTest]: {{{modules/s3_test.py}}} [[BR]] 61 62 This can be used from Controllers like: 62 63 {{{