archie/tk4.2/tests/README
2024-05-27 16:40:40 +02:00

31 lines
1.2 KiB
Plaintext

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.