Author of:
and maintainer of:
Today I had a 'YAPE' *1. I have written a small CGI script using Perl. It is not a module - it is a simple script, which suites a single purpose, but uses a lot of existing Perl (CPAN) modules. So in order to provide this script with some accompanying tests - I thought what the heck, I'll simply write a test.pl which test that the prerequisites are in order now when I do not have a makefile, cause having a makefile for a CGI seems somewhat stupid.
And since testing is (as I always say), a - SAMP *2, heh I stole this term from an IBM consultant, but I don't think he will mind, and I am not sure whether it is correct but you get my meaning.
So now my CGI script is accompanied by a test.pl and a t directory, which makes in intuitionally easier to test and with more tests I feel confident in the stuff I am programming, but that is another story, bottomline is: Test! it is fun and it is just plain ol'e programming
*1 Yet Another Phantastic perl Experience, Perl is intentionally written with a lowercase P.
*2 Simply A Matter of Programming
SAMP (Score:2)
Re:SAMP (Score:1)
Thank You...