wiki:DeveloperGuidelinesTesting

Version 67 (modified by Fran Boon, 13 years ago) ( diff )

Initial draft of the DeveloperGuidelines version (what we do) vs the broken-out BluePrint

Testing

"A bug is a test case you haven't written yet"
"Unit Tests allow merciless refactoring"

This page defines what our current approach versus our BluePrint for future options

Doc Tests

Agile documentation which can be run using Web2Py's Admin UI.

We have a module which uses wsgi_intercept & CherryPy's WebTest: modules/s3_test.py

Unit Tests

Building the Code Right

Selenium RC

Continuous Integration

We use the Trac-integrated Bitten to monitor code quality.

Functional Tests

We have integrated Selenium Core into /static/selenium so that Functional Tests can be run. Tests can be developed using Selenium IDE, if desired. If desired they can be maintained in a Python format using


DeveloperGuidelines

Attachments (4)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.