Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Python Other
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.


Documentation Summary:

    There is some stuff in source/doc here in this download, but the main documentation is kept at At the bottom of this file there is also
    a brief summary of what TextTest is and what it can do for you.

    In source/doc, you can find :
       a) For those upgrading from previous versions of TextTest, migration notes are available for each 
          version. These list not only necessary migrations (which are now kept to a minimum) but also
          changes to the default behaviour of TextTest. These can also be viewed from the Help menu
          in TextTest.

       b) A ChangeLog detailing all changes since the previous release (and all releases).

       c) Many people like to learn by example. There are some tips on getting started, and also learning about
          features you haven't used before, under source/doc/quick_start.txt 

       d) A directory Upgrade_PyGTK_Enterprise_Linux, especially for people working on an Enterprise Linux
          system such as Red Hat or SuSE, who are stuck with an old version of Python or PyGTK and a sysadmin 
          group unwilling to upgrade the central version. This is basically a guide to building PyGTK from
          source on Linux.

Installation and System Requirements:

    Read the online installation guide at Click on the "TextTest/docs" button
    and then the "Installation Guide" at the top-left of the table.
    The lightning summary is that you need Python, PyGTK, tkdiff which are probably already
    installed if you're on UNIX. On Windows you'll probably need to download them. 

    You now don't need to do anything to install TextTest itself as such. You can copy the contents
    of the source directory to anywhere at all or leave it where it is. Running TextTest is a matter
    of running source/bin/ with the above stuff installed.

TEXTTEST_HOME and the Self-Tests:

    The tests subdirectory is a sketch of what a basic test repository looks like. You can move this
    to anywhere at all or leave it where it is, but wherever it ends up you should point the environment
    variable TEXTTEST_HOME at it. It contains configuration for how to get debug information out of TextTest 
    and also a large number of tests for itself (using itself, naturally!) under the texttest subdirectory. 
    Your tests should be placed in product-specific subdirectories alongside the "texttest" directory.

    The self-tests also function as working examples as described above, read source/doc/quickstart.txt for more 

Bugs and Support:
    Contact the mailing list at

    You can also contact me directly if you really want to...

    Geoff Bache


Other (non-standard) Open Source python modules used by TextTest and packaged with it:              : sequential dictionaries. (Raymond Hettinger, v1.1)
    source/storytext            : "StoryText", record/replay tool for PyGTK GUIs, of the kind you may well 
                                  need if you test GUIs (Geoff Bache, v3.5),,   : "HTMLGen", tool for generating HTML in Python, used for the historical report,,   webpages generated for batch runs (Robin Friedrich, v2.2.2)

Plugins included:            :   integration with CVS for version control             :   integration with Bazaar for version control            :   integration with Mercurial for version control            :   integration with Sun Grid Engine for distributing tests            :   integration with LSF for distributing tests - note LSF is not free! (see       :   integration with Bugzilla version 3.x, using its native webservice API (see     :   integration with Bugzilla version 2.x, using the command-line interface program bugcli (Dennis Cox, v0.6)           :   integration with Trac for bug tracking           :   integration with Atlassian Jira for bug tracking - which isn't free either :   integration with Xvfb, UNIX virtual display tool, useful for stopping tested GUIs popping up all the time.

Summary of Texttest (see for more info):

TextTest is an application-independent tool for text-based functional testing. In other words, it
provides support for regression testing by means of comparing program output files against a 
specified "gold standard" of what they should look like.

It is both a standalone tool for this sort of testing, and a Python framework that users plug 
their own tools, custom comparators, reports etc. into. (Framework-wise, it is composed of a 
core engine for handling the text files consituting a test suite, and various extendable configurations
that actually do things with them).

As is, it will allow the user to define various runs of particular executables using command line 
options, environment variables and standard input redirects, along with standard results for 
those runs. These are then the testcases.  It then provides means to subselect these testcases, and 
compare the files produced (by default using line-based comparators such as 'diff'), to ensure that 
behaviour changes in the target binary can be controlled. 

It is currently supported on all flavours of UNIX and Windows XP. Development is funded by Jeppesen AB.

A configuration for the load balancing software Sun Grid Engine (which is free and open source) and LSF, 
available for a fee from Platform Computing, is also available. This will enable the tests to be run in 
parallel over a network. Unfortunately only LSF is supported on Windows.

There is a text-based console interface and two related GUI interfaces, the 'static GUI' for test creation
and management, and the 'dynamic GUI' for running tests and examining failures. It is recommended
that you install this as the text interface is not actively developed any more. The GUIs use the
Python library PyGTK, which is directly available in most Linux distributions. If you aren't using Linux, 
it is freely available for download, see online installation instructions.

To test GUIs, you need some simulation tool. We have also developed "StoryText", which is such a tool
for Python GUIs and SWT/Eclipse RCP, which relies on a record/replay layer between the application and the GUI library. 
There also exist "JUseCase", for Java Swing GUIs and "NUseCase" for .net GUIs. TextTest integrates with these, and includes 
StoryText as it uses it for its own testing. If you want to use it for your own GUIs you are however recommended 
to download it separately from its own page.
Something went wrong with that request. Please try again.