Re: Understanding of simpletest utility



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: Understanding of simpletest utility
    ... telecom project. ... your implementation of regression test suite and tried to figure out ... > For the case we are discussing, namely the testing of the SimpleProc ... > package distributed with The Simple Development Library, ...
    (comp.lang.tcl)
  • Re: What would you charge for the following package?
    ... >>>For that kind of sound package you should charge the least ... >> mixer with a package for those kinds of rates. ... I get to use the photographer's gear so... ... bee good, charge what you want... ...
    (rec.arts.movies.production.sound)
  • Re: What would you charge for the following package?
    ... For that kind of sound package you should charge the least ... I get to use the photographer's gear so... ... You just are not going to find clients in my neck of the woods ...
    (rec.arts.movies.production.sound)
  • Re: What would you charge for the following package?
    ... For that kind of sound package you should charge the least ... I get to use the photographer's gear so... ... You just are not going to find clients in my neck of the woods ...
    (rec.arts.movies.production.sound)
  • Re: What would you charge for the following package?
    ... For that kind of sound package you should charge the least ... I get to use the photographer's gear so... ... You just are not going to find clients in my neck of the woods ...
    (rec.arts.movies.production.sound)