On Wed, Mar 02, 2005 at 12:36:43 +0200, Gabor Szabo wrote:

> How to check the coverage of the CGI scripts and the modules used by them ?

I would make scripts that look like


<<FOO.T
#!/usr/bin/perl -T

use strict;
use warnings;

BEGIN {
        ...fork... # start a simple daemon with HTTP::Daemon (from LWP)
        # probably with many mocked pieces
}

use Test::More qw/tests/;

test with WWW::Mechanize

FOO.T

-- 
 ()  Yuval Kogman <[EMAIL PROTECTED]> 0xEBD27418  perl hacker &
 /\  kung foo master: /me kicks %s on the nose: neeyah!!!!!!!!!!!!!!!!!

Attachment: pgpAMbexaYOhV.pgp
Description: PGP signature

Reply via email to