archie/tk4.2/tests/README

31 lines
1.2 KiB
Plaintext
Raw Permalink Normal View History

2024-05-27 16:13:40 +02:00
Tk Test Suite
--------------
2024-05-27 16:40:40 +02:00
SCCS: @(#) README 1.2 96/03/27 08:52:21
2024-05-27 16:13:40 +02:00
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:
2024-05-27 16:40:40 +02:00
(a) type "make test" in the directory ../unix; this will run all of
the tests.
2024-05-27 16:13:40 +02:00
(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.
2024-05-27 16:40:40 +02:00
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.