Re: Understanding of simpletest utility



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---

.



Relevant Pages

  • Re: OO Perl Online Learning
    ... If it's a pure perl module, ... mentioned, some modules are not pure perl, and the installation process ... a file but it seems that in practice, it's one class, one package, one ... A test suite is a collection of such scripts. ...
    (comp.lang.perl.misc)
  • Re: RFC on VHDL LRM 93[8.4.1]
    ... the package body, so that the end user could just call them from ... I'm sorry Mike but I didn't understand what do you have to package if than you will overload them all. ... Many of these signals just go ... When there is just one test in a test suite, ...
    (comp.lang.vhdl)
  • Re: Good enough for crypto?
    ... It's easier than Diehard and far easier than the ... >> NIST tests to use. ... > in Diehard and the NIST test suite and that hence ... I thought it were a very extensive package with a ...
    (sci.crypt)
  • Re: Understanding of simpletest utility
    ... Your question is "how the test cases are executed as i am not invoking ... For the case we are discussing, namely the testing of the SimpleProc ... package distributed with The Simple Development Library, ... the one in charge of ...
    (comp.lang.tcl)