Re: Understanding of simpletest utility
- From: "Juan C. Gil" <jgil@xxxxxx>
- Date: 29 Nov 2005 03:06:54 -0800
surendra wrote:
> I am new to tcl and trying to understand how the following command
> works .
>
> tclsh82 simpletest SimpleProc
>
> can some body expalin me the sequence of events ( how the test file
> SimpleProc-test is evaluated ) that happen till we get the following
> result
>
> [result elided]
Hi Surendra,
simpletest
(http://simpledevlib.sourceforge.net/utilities/simpletest.html) is
The Simple Development Library (http://simpledevlib.sourceforge.net/)
regression testing tool. simpletest uses the SimpleTest package
(http://simpledevlib.sourceforge.net/SimpleTest.html). Those pages
should contain enough info; what follows is a minimal description.
When you type "tclsh82 simpletest SimpleProc" (or just "simpletest
SimpleProc" in Unix) the simpletest program is executed with
"SimpleProc" as argument. simpletest then looks for the regression
testing module of that SimpleProc package, which is expected to be
available as another Tcl package named SimpleProc-test; if found,
simpletest loads that package.
Now, this package is assumed to contain test cases implemented via
the [test-case] command described at
http://simpledevlib.sourceforge.net/SimpleTest.html#section4.10.
After the test cases are run, simpletest produces the appropriate
output on the number of test cases found, run, passed, failed, ignored
and such. In the output you provide, 169 test cases were found and
all of them passed sucessfully!
Don't hesitate to ask further should you need it!
Juan Carlos---
.
- Follow-Ups:
- Re: Understanding of simpletest utility
- From: surendra
- Re: Understanding of simpletest utility
- From: surendra
- Re: Understanding of simpletest utility
- References:
- Understanding of simpletest utility
- From: surendra
- Understanding of simpletest utility
- Prev by Date: Re: Packaging Tcl/Tk Application on Windows: Single File Executable
- Next by Date: Re: Packaging Tcl/Tk Application on Windows: Single File Executable
- Previous by thread: Understanding of simpletest utility
- Next by thread: Re: Understanding of simpletest utility
- Index(es):
Relevant Pages
|