summaryrefslogtreecommitdiffstats
path: root/tests/README
blob: 23fc4a532c055bfd3017da8796ed6a0eec6008e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Tk Test Suite
--------------

RCS: @(#) $Id: README,v 1.2 1998/09/14 18:23:41 stanton Exp $

This directory contains a set of validation tests for Tk.
Each of the files whose name ends in ".test" is intended to
fully exercise one or a few Tk features.  The features
tested by a given file are listed in the first line of the
file.  The test suite is nowhere near complete yet.  Contributions
of additional tests would be most welcome.

You can run the tests in two ways:
    (a) type "make test" in the directory ../unix; this will run all of
        the tests.
    (b) start up tktest in this directory, then "source" the test
        file (for example, type "source pack.test").  To run all
	of the tests, type "source all".
In either case no output will be generated if all goes well, except
for a listing of the tests.  If there are errors then additional
messages will appear.

For more details on the testing environment, see the README
file in the Tcl test directory.

You can also run a set of visual tests, which create various screens
that you can verify visually for appropriate behavior.  The visual
tests are available through the "visual" script:  if you invoke this
script, it creates a main window with a bunch of menus.  Each menu
runs a particular test.