Does anyone have any idea about some tools that make "tcl covergae"?
I know one that is integrated in the debugger of ActiveState developing kit
but it is GUI only.
I want a batch one .
Please help....
Regards,
Ahmed Ossman
blt::bltdebug
The bltdebug command is a simple tracing facility for Tcl commands.
Each command line is printed before it is executed on standard error.
The output consists of the command line both before and after substitu-
tions have occurred. Level indicates at what level to stop tracing
commands. If level is 0, no tracing is performed. This is the default.
If no level argument is given, the current level is printed.
or
tclx:cmdtrace
cmdtrace level | on ?noeval? ?notruncate? ?procs? ?fileid? ?command
cmd?
Print a trace statement for all commands executed at depth of
level or below (1 is the top level). If on is specified, all
commands at any level are traced. The following options are
available:
uwe
You can find it at:
ftp://ftp.procplace.com/pub/tcl/sorted/apps/Testcov/0.3/
(Note: it is not quite complete - it does not cover switch statements,
IIRC, for instance)
Regards,
Arjen
Nagelfar has some support for coverage.
http://wiki.tcl.tk/nagelfar
/Peter