Max Maischein

NAME

Test::WWW::Mechanize::HSS - Test HTTP::Server::Simple programs using WWW::Mechanize

SYNOPSIS

    use Test::WWW::Mechanize::HSS;
    use MyApp::Server; # A descendant from HTTP::Server::Simple

    # Construct your server
    my $s = MyApp::Server->new(
        ...
    );

    my $mech = Test::WWW::Mechanize::HSS->new(
        server => $s
    );
    
    $mech->get_ok('/');

ABSTRACT

This module implements the necessary glue to run code written for HTTP::Server::Simple and HTTP::Server::Simple::CGI using Test::WWW::Mechanize without needing to fire up an actual webserver.

STATUS

This is an early release, hacked together to test one of my applications. So far it has worked well for me, but there sure are some corners that I haven't tested well. Tests and patches are welcome.

AUTHOR

Max Maischein corion@cpan.org

COPYRIGHT (c)

Copyright 2009 by Max Maischein corion@cpan.org.

LICENSE

This module is released under the same terms as Perl itself.