Re: Understanding of simpletest utility
- From: "surendra" <japan_70@xxxxxxxxx>
- Date: 29 Nov 2005 07:24:19 -0800
Hi juan ,
many thanks for the clarification . i am shell programmer and moving
towards tcl as part of automating the test suite for our company
telecom project . In the process i searched on the internet and found
your implementation of regression test suite and tried to figure out
how the entire project was implemented . I found your explanation
extremely useful and hope will be useful in designing regression tool
for our product .As we move ahead in implementation i will post on this
group for any issues .
thanks ,
surendra
Juan C. Gil wrote:
> Hi Surendra,
>
> Your question is "how the test cases are executed as i am not invoking
> the test-case command explicitly?"
>
> For the case we are discussing, namely the testing of the SimpleProc
> package distributed with The Simple Development Library, the test cases
> are contained within the -firsttimeinstall package body so, yes, they
> end up being evaluated by the code you copy above, which is, in turn,
> part of SimpleDevLib's SimplePackage package, the one in charge of
> handling the loading of other packages ...
>
> That's just one way of doing things. You could set up your test package
> in any other way, even without using SimpleDevLib's way of organizing
> packages. The only requirement for simpletest to work is that the
> [test-case]'s are exposed upon requiring the package
> <yourpackagename>-test as described in the documentation.
>
> Now, I'm intrigued on why you are interested on exactly where those
> are executed. Are you planning to somehow preprocess the test-cases or
> something? Could you please describe what you intend to achieve?
>
> Juan Carlos---
.
- Follow-Ups:
- Re: Understanding of simpletest utility
- From: Ray
- Re: Understanding of simpletest utility
- References:
- Understanding of simpletest utility
- From: surendra
- Re: Understanding of simpletest utility
- From: Juan C. Gil
- Re: Understanding of simpletest utility
- From: surendra
- Re: Understanding of simpletest utility
- From: Juan C. Gil
- Understanding of simpletest utility
- Prev by Date: Re: The latest Tcl85 failed to load extensions that were linked to the tcl85 and tk85.lib
- Next by Date: Re: The latest Tcl85 failed to load extensions that were linked to the tcl85 and tk85.lib
- Previous by thread: Re: Understanding of simpletest utility
- Next by thread: Re: Understanding of simpletest utility
- Index(es):
Relevant Pages
|