|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
|
Re: Writing unit tests in Perl.
|
> I've been reading the XP book and am impressed with its focus on testing as
> a basic coding task. Writing effective unit tests is something I have never
> really gotten a good grasp on, especially with Perl/CGI type applications.
>
> Anyone have any good pointers to tutorials/documentation/books that might
> enlighten the novice test writer?
You probably thought of this already, but you might want
to have a look at the regression tests that are included
with a lot of Perl modules. Some of these are quite lengthy
and they test all sorts of features. Off the top of my head,
I don't remember what sort of tests CGI.pm has, but you might
have a look at these, as an example of how to test a CGI program.
--
#-------------------------
# John Nolan
# jpnolan sonic net
#-------------------------
**Majordomo list services provided by PANIX <URL:http://www.panix.com>**
**To Unsubscribe, send "unsubscribe phl" to majordomo@lists.pm.org**
|
|