Gabor Szabo wrote:
On Wed, 30 Mar 2005 21:45:23 -0600, Walter Goulet <[EMAIL PROTECTED]> wrote:Cool, thanks for the hints. I've written the author to see if he's interested in helping.
Hi,
Ok, so I've been trying to get started with testing Net-SSLeay for the Phalanx project. Now the problem I've been having is getting my arms around how to improve the coverage of the tests included with that module. It doesn't look like this module uses the t/ framework, rather a series of scripts in a given subdirectory are executed to test the module.
So I guess my question is, what exactly am I supposed to do to improve
test coverage? Am I supposed to modify the existing scripts so they
execute more functions exported by the module? Are any of the other
modules currently being tested not using the t/ framework?
I would start by replacing the test.pl file with test scripts in the
t/ directory
and start using Test::More. Then I would split it up to several scripts and start testing more functions just as you suggested.
I had a similar approach with HTML::Template. You can see the previous version and current version on http://search.cpan.org
Gabor
In the meantime, I guess it wouldn't be a bad idea to get Net-SSLeay uploaded to the phalanx repository. I'm using a local copy hosted in my own repository for now.
Thanks, Walter
smime.p7s
Description: S/MIME Cryptographic Signature