Navigation: home >download
Downloading TextTest
Latest release
Releases may be downloaded from the SourceForge download site. We aim to make a couple of releases a year here, with attendant bugfix releases when required. See the installation guide for more details.
Latest development version from source control
Due to over 1000 automated acceptance tests for itself, written in itself, the contents of source control are almost always quite usable. Anyone wishing to make changes should obviously get hold of this version also. The code is hosted on Launchpad and can be browsed online here.
To get hold of the latest version, you will need to install the Bazaar version control tool, as well as the other dependencies listed in the installation guide. For ordinary installation, StoryText is bundled with TextTest but it is a separate Bazaar repository, so you need to check it out also. Start by doing "bzr branch lp:storytext" and then running "python install" in the "lib" subdirectory of the checked out location. You can then just do "bzr branch lp:texttest" to get the latest code and run "" from the relevant "bin" directory.
Contributing to TextTest: the self-tests and documentation
Adding functionality isn't just a matter of writing code: new code also needs to be tested and documented before it's complete. You should therefore get the latest version of the self-tests also, this is done via "bzr branch lp:/~geoff.bache/texttest/selftest-trunk". You can then run your changes against these tests and add new tests if you add new functionality.
The self-tests expect you to set TEXTTEST_HOME to the parent directory of your branch, they can then live alongside other tests you write in a single directory structure if you want to set it up like that.
On UNIX, you probably want to make sure you have Xvfb installed, otherwise you'll get lots of TextTest GUIs popping up on your screen when you run the GUI self-tests.
The self-tests also assume that the TextTest source to be tested can be found in the same location as in the release tarball, i.e. $TEXTTEST_HOME/../source. If you put them somewhere else you'll need to tell it this. This is controlled by the setting in the file default_site/site_configfile in the self-tests: you can either edit this locally or preferably, copy the file to site/siteconfig/site_configfile and edit it there, where it will be read instead of the default_site location. This also means it won't show up as a change when you check status in Bazaar. You can also make other locally-relevant configuration changes for the self-tests in that file.
We make every effort to ensure that the self-tests are always green, but there are more than 1000 of them now and there are many different combinations of platforms, python versions, GTK versions etc, which can of course lead to problems. If they fail on the current source for you, the first thing to do is to check their status in the nightjob. This page is updated nightly with the result of test runs on Linux and Windows using different GTK versions. There are a handful of tests that contain race conditions and fail about one time in ten. You can check in the nightjob history to see if a test has failed there in the past. (Coverage information is also available there)
The source for this website can also be retrieved from "lp:~geoff.bache/texttest/website-trunk" if you find errors in the documentation, or your changes require extra documentation.

Last updated: 14 November 2011