Re: Understanding of simpletest utility
- From: "Juan C. Gil" <jgil@xxxxxx>
- Date: 29 Nov 2005 06:17:12 -0800
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: surendra
- 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
- Understanding of simpletest utility
- Prev by Date: Ann Getleft 1.2a1
- Next by Date: parser for Microsoft *.pdb files...
- Previous by thread: Re: Understanding of simpletest utility
- Next by thread: Re: Understanding of simpletest utility
- Index(es):
Relevant Pages
|