summaryrefslogtreecommitdiffstats
path: root/tests/README
blob: 2ae2a44121383fc6bb9510e81be53f6b79372157 (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
--------------

SCCS: @(#) README 1.2 96/03/27 08:52:21

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.