princepawn has asked for the wisdom of the Perl Monks concerning the following question:

I need to add testing for my CPAN module HTTP::File (1-line architecture independant file uploads for CGI.pm and HTML::Mason --- HTML::Embperl includes this already). But, I dont know exactly what I return in case of success or error.
  • Comment on Makemaker question (make test protocol)

Replies are listed 'Best First'.
Re: Makemaker question (make test protocol)
by KM (Priest) on May 26, 2000 at 20:19 UTC
    Look at h2xs, and the files it creates. It creates a test.pl, which you can look at. Or, look at the hundreds of other modules to see what people do. Generally, there is either a test.pl, or a */t directory with test files (which have a .t extension).

    Cheers,
    KM