Edgewall Software

Version 10 (modified by Christian Boos, 14 years ago) ( diff )

note about fcrypt Windows prerequisites

Trac Functional Tests

Functional tests are integrated in the test suite (see TracDev/UnitTests). For detailed informations about functional tests, see:

Dependencies

Those packages can be installed with easy_install:

easy_install twill
easy_install lxml

On Windows, you'll need fcrypt, otherwise you'll get the following error when running the tests:

"Exception: Unable to setup admin password"

To run the functional tests, execute:

PYTHONPATH=. python ./trac/tests/functional.py

or:

make functional-test

(only for 0.12 - Trac 0.11 has no Makefile)

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.