Version 7 (modified by 15 years ago) ( diff ) | ,
---|
Trac Functional Tests
Functional tests are integrated in the test suite (see TracDev/UnitTests). See source:trunk/TESTING-README for detailed informations about functional tests or the more recent source:trunk/doc/dev/testing.rst.
Dependencies
It can be installed with easy_install:
easy_install twill easy_install lxml
To run the functional tests, execute PYTHONPATH=. python ./trac/tests/functional.py
or make functional-test
.
When using Python 2.3 on the 0.11-stable branch, you'll need to extract attachment:244-for-23.zip somewhere and extend your PYTHONPATH with this 244-for-23
folder. It contains code borrowed from Python 2.4.4, adapted a bit so that it works with Python 2.3.
Discussion/Future
Something to consider here: using twill's wsgi_intercept capability, and making these part of the unittests.
Attachments (1)
-
244-for-23.zip
(61.8 KB
) - added by 15 years ago.
Set of files from the Python 2.4.4 standard library needed for running the functional tests with Python 2.3
Download all attachments as: .zip