CGI-Alternatives

 view release on metacpan or  search on metacpan

README.md  view on Meta::CPAN

    carton install
    carton exec plackup bin/app.psgi

# TESTING

One major advantage of modern frameworks is testability. All the frameworks
mentioned support easy testing:

    use Test::More;
    use Plack::Test;
    use HTTP::Request::Common;

    my $app = MyApp->to_app;

    test_psgi $app, sub {
        my $cb = shift;
        my $res = $cb->(GET "/example_form");
        is $res->code, 200;
        like $res->content, qr/Say something/;
    };

lib/CGI/Alternatives.pm  view on Meta::CPAN

    carton install
    carton exec plackup bin/app.psgi

=head1 TESTING

One major advantage of modern frameworks is testability. All the frameworks
mentioned support easy testing:

    use Test::More;
    use Plack::Test;
    use HTTP::Request::Common;

    my $app = MyApp->to_app;

    test_psgi $app, sub {
        my $cb = shift;
        my $res = $cb->(GET "/example_form");
        is $res->code, 200;
        like $res->content, qr/Say something/;
    };



( run in 2.057 seconds using v1.01-cache-2.11-cpan-acf6aa7dc9e )