Edgewall Software

Version 6 (modified by Christian Boos, 15 years ago) ( diff )

moved twill info from TracDev/UnitTests@9

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

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 Christian Boos 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

Note: See TracWiki for help on using the wiki.