Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Version 2 (modified by Karl Guertin, 13 years ago) (diff)

Fixing links

Note: This document was written against rev 776 on February 14, 2006.

Running Tests

The nose test framework is installed as part of the TurboGears easy_install process. To run the full suite of unit tests, cd to the top level of your turbogears checkout and run:


This command will recursively search the working directory for directories, modules, and files whose names start with 'Test' or 'test'. Nose will then search for methods in these files starting with 'Test' or 'test' and will exceute these methods as test cases.

Running particular tests

As a whole, the entire TG test suite takes very little time to run, but if you want to restrict the tests to a particular file, run:

nosetests -f ./path/to/

For more details, see the nose usage documentation.