• Home
  • History
  • Annotate
  • only in this directory
NameDateSize

..01-Mar-201323

all.tclH A D02-Nov-2006610

append.testH A D01-Sep-20108 KiB

appendComp.testH A D01-Sep-201010.8 KiB

apply.testH A D15-Aug-201010 KiB

assocd.testH A D19-May-20042.1 KiB

async.testH A D21-Mar-20065.9 KiB

autoMkindex.testH A D25-May-200410.4 KiB

basic.testH A D19-Apr-200730.3 KiB

binary.testH A D23-Mar-200883.3 KiB

case.testH A D09-Oct-20063 KiB

chan.testH A D13-Dec-20078.6 KiB

chanio.testH A D20-Jun-2008241.9 KiB

clock.testH A D28-Oct-20091.8 MiB

cmdAH.testH A D28-Dec-200950 KiB

cmdIL.testH A D13-Feb-200825 KiB

cmdInfo.testH A D02-Nov-20063.6 KiB

cmdMZ.testH A D09-Oct-200611.8 KiB

compExpr-old.testH A D13-Dec-200736.2 KiB

compExpr.testH A D16-Jan-200816.2 KiB

compile.testH A D29-Oct-200919.8 KiB

concat.testH A D19-May-20041.6 KiB

config.testH A D29-Oct-20042.3 KiB

dcall.testH A D19-May-20041.4 KiB

dict.testH A D20-May-201038.3 KiB

dstring.testH A D24-Jun-200410 KiB

encoding.testH A D16-Nov-200918.3 KiB

env.testH A D06-Jan-20107 KiB

error.testH A D09-Oct-20066.9 KiB

eval.testH A D09-Oct-20062.3 KiB

event.testH A D20-Jun-200825.3 KiB

exec.testH A D11-Mar-200825.5 KiB

execute.testH A D13-Jun-200930.3 KiB

expr-old.testH A D13-Dec-200746.2 KiB

expr.testH A D21-Feb-2010333.2 KiB

fCmd.testH A D11-Nov-200983.8 KiB

fileName.testH A D05-Jan-201056.4 KiB

fileSystem.testH A D09-Oct-200634.5 KiB

for-old.testH A D19-May-20042 KiB

for.testH A D09-Oct-200624.5 KiB

foreach.testH A D14-Mar-20086.9 KiB

format.testH A D31-Jul-200920 KiB

get.testH A D08-Aug-20054.4 KiB

history.testH A D19-May-20047.9 KiB

http.testH A D10-Apr-200916.9 KiB

httpdH A D10-Apr-20095.6 KiB

httpold.testH A D19-May-20047.7 KiB

if-old.testH A D27-Mar-20034.7 KiB

if.testH A D09-Oct-200626.2 KiB

incr-old.testH A D09-Oct-20062.8 KiB

incr.testH A D13-Dec-200717 KiB

indexObj.testH A D06-Apr-20065.3 KiB

info.testH A D03-Aug-201051.8 KiB

init.testH A D13-Dec-20076.3 KiB

interp.testH A D29-Dec-200995.1 KiB

io.testH A D12-Nov-2009226.5 KiB

ioCmd.testH A D03-Aug-2010116 KiB

iogt.testH A D03-Nov-200620.8 KiB

ioUtil.testH A D13-Dec-200712.6 KiB

join.testH A D19-May-20041.6 KiB

license.termsH A D04-Aug-20102.2 KiB

lindex.testH A D13-Dec-200712.7 KiB

link.testH A D13-Dec-200710.7 KiB

linsert.testH A D10-May-20053.5 KiB

list.testH A D24-Jul-20034 KiB

listObj.testH A D18-Mar-20107 KiB

llength.testH A D19-May-20041.3 KiB

load.testH A D13-Dec-20078.6 KiB

lrange.testH A D10-May-20053 KiB

lrepeat.testH A D06-Oct-20031.9 KiB

lreplace.testH A D10-May-20054.2 KiB

lsearch.testH A D13-Dec-200716.2 KiB

lset.testH A D22-Jun-201014.5 KiB

lsetComp.testH A D22-Jun-201016.1 KiB

macOSXFCmd.testH A D18-Aug-20067.2 KiB

macOSXLoad.testH A D16-Dec-20061.2 KiB

main.testH A D13-Dec-200728.5 KiB

mathop.testH A D02-Jul-201053.2 KiB

misc.testH A D09-Oct-20062.2 KiB

msgcat.testH A D13-Aug-200816.2 KiB

namespace-old.testH A D13-Dec-200732.6 KiB

namespace.testH A D21-May-200888.7 KiB

notify.testH A D06-Oct-20038.6 KiB

obj.testH A D13-Dec-200723.6 KiB

opt.testH A D19-May-20047.3 KiB

package.testH A D10-Apr-20003.8 KiB

parse.testH A D21-May-200844.2 KiB

parseExpr.testH A D13-Dec-200761.4 KiB

parseOld.testH A D09-Oct-200615.8 KiB

pid.testH A D19-May-20041.9 KiB

pkg.testH A D13-Dec-200739.2 KiB

pkgMkIndex.testH A D02-Nov-200619.4 KiB

platform.testH A D05-Dec-20062 KiB

proc-old.testH A D09-Oct-200614.8 KiB

proc.testH A D29-Oct-200912.2 KiB

pwd.testH A D19-May-20041,007

READMEH A D01-Apr-20034.4 KiB

reg.testH A D29-Oct-200935.6 KiB

regexp.testH A D12-Aug-201032 KiB

regexpComp.testH A D22-Aug-200826.3 KiB

registry.testH A D11-Nov-200928.3 KiB

remote.tclH A D15-Apr-19994.1 KiB

rename.testH A D19-May-20045.5 KiB

result.testH A D24-Mar-20104.7 KiB

safe.testH A D30-Dec-200918.1 KiB

scan.testH A D25-Apr-200626 KiB

security.testH A D19-May-2004933

set-old.testH A D13-Dec-200729.8 KiB

set.testH A D13-Feb-200817.3 KiB

socket.testH A D11-Mar-200844.9 KiB

source.testH A D21-Mar-20067.9 KiB

split.testH A D19-May-20042.4 KiB

stack.testH A D06-Jan-20103 KiB

string.testH A D06-Jan-200953.9 KiB

stringComp.testH A D13-Dec-200721.1 KiB

stringObj.testH A D30-Mar-200917.5 KiB

subst.testH A D26-Oct-20048.9 KiB

switch.testH A D21-Mar-200820.8 KiB

tcltest.testH A D03-Nov-200949.7 KiB

thread.testH A D18-Oct-20097.8 KiB

timer.testH A D09-Nov-200514.4 KiB

tm.testH A D29-Aug-20058.5 KiB

trace.testH A D13-Dec-200779.7 KiB

unixFCmd.testH A D21-Mar-200612.5 KiB

unixFile.testH A D23-Jun-20041.9 KiB

unixInit.testH A D03-Nov-200613.8 KiB

unixNotfy.testH A D01-Nov-20053.2 KiB

unknown.testH A D19-May-20041.9 KiB

unload.testH A D16-Dec-200610.5 KiB

uplevel.testH A D19-May-20043.2 KiB

upvar.testH A D13-Dec-200713.2 KiB

utf.testH A D01-May-20079.8 KiB

util.testH A D14-Oct-200836.7 KiB

var.testH A D03-Aug-201024.5 KiB

while-old.testH A D09-Oct-20063.3 KiB

while.testH A D09-Oct-200613.9 KiB

winConsole.testH A D02-Nov-20061.2 KiB

winDde.testH A D10-May-200514.9 KiB

winFCmd.testH A D11-Nov-200939.5 KiB

winFile.testH A D23-Oct-20086.9 KiB

winNotify.testH A D23-Jun-20043.8 KiB

winPipe.testH A D03-Nov-200617.3 KiB

winTime.testH A D23-Jun-20042 KiB

README

1README -- Tcl test suite design document.
2
3RCS: @(#) $Id: README,v 1.12 2003/04/01 19:17:21 dgp Exp $
4
5Contents:
6---------
7
8    1. Introduction
9    2. Running tests
10    3. Adding tests
11    4. Incompatibilities with prior Tcl versions
12
131. Introduction:
14----------------
15
16This directory contains a set of validation tests for the Tcl commands
17and C Library procedures for Tcl.  Each of the files whose name ends
18in ".test" is intended to fully exercise the functions in the C source
19file that corresponds to the file prefix.  The C functions and/or Tcl
20commands tested by a given file are listed in the first line of the
21file.
22
232. Running tests:
24-----------------
25
26We recommend that you use the "test" target of Tcl's Makefile to run
27the test suite.  From the directory in which you build Tcl, simply
28type "make test".  This will create a special executable named
29tcltest in which the testing scripts will be evaluated.  To create
30the tcltest executable without running the test suite, simple type
31"make tcltest".
32
33All the configuration options of the tcltest package are available
34during a "make test" by defining the TESTFLAGS environment variable.
35For example,if you wish to run only those tests in the file append.test,
36you can type:
37
38	make test TESTFLAGS="-file append.test"
39
40For interactive testing, the Tcl Makefile provides the "runtest" target.
41Type "make runtest" in your build directory, and the tcltest executable
42will be created, if necessary, then it will run interactively.  At the
43command prompt, you may type any Tcl commands.  If you type
44"source ../tests/all.tcl", the test suite will run.  You may use the
45tcltest::configure command to configure the test suite run as an
46alternative to command line options via TESTFLAGS.  You might also
47wish to use the tcltest::testConstraint command to select the constraints
48that govern which tests are run.  See the documentation for the tcltest
49package for details.
50
513. Adding tests:
52----------------
53
54Please see the tcltest man page for more information regarding how to
55write and run tests.
56
57Please note that the all.tcl file will source your new test file if
58the filename matches the tests/*.test pattern (as it should).  The
59names of test files that contain regression (or glass-box) tests
60should correspond to the Tcl or C code file that they are testing.
61For example, the test file for the C file "tclCmdAH.c" is
62"cmdAH.test".  Test files that contain black-box tests may not
63correspond to any Tcl or C code file so they should match the pattern
64"*_bb.test". 
65
66Be sure your new test file can be run from any working directory.
67
68Be sure no temporary files are left behind by your test file.
69Use [tcltest::makeFile], [tcltest::removeFile], and [tcltest::cleanupTests]
70properly to be sure of this.
71
72Be sure your tests can run cross-platform in both a build environment
73as well as an installation environment.  If your test file contains
74tests that should not be run in one or more of those cases, please use
75the constraints mechanism to skip those tests.
76
774. Incompatibilities of package tcltest 2.1 with 
78   testing machinery of very old versions of Tcl:
79------------------------------------------------
80
811) Global variables such as VERBOSE, TESTS, and testConfig of the
82   old machinery correspond to the [configure -verbose], 
83   [configure -match], and [testConstraint] commands of tcltest 2.1,
84   respectively.
85
862) VERBOSE values were longer numeric.  [configure -verbose] values
87   are lists of keywords.
88
893) When you run "make test", the working dir for the test suite is now
90   the one from which you called "make test", rather than the "tests"
91   directory.  This change allows for both unix and windows test
92   suites to be run simultaneously without interference with each
93   other or with existing files.  All tests must now run independently
94   of their working directory.
95
964) The "all" file is now called "all.tcl"
97
985) The "defs" and "defs.tcl" files no longer exist.
99
1006) Instead of creating a doAllTests file in the tests directory, to
101   run all nonPortable tests, just use the "-constraints nonPortable"
102   command line flag.  If you are running interactively, you can run
103   [tcltest::testConstraint nonPortable 1] (after loading the tcltest
104   package).
105
1067) Direct evaluation of the *.test files by the "source" command is no
107   longer recommended.  Instead, "source all.tcl" and use the "-file" and
108   "-notfile" options of tcltest::configure to control which *.test files
109   are evaluated.
110