Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Perl
Tag: 0.01

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib/Plack/Middleware/Test
t
xt
.gitignore
Changes
Makefile.PL
README

README

NAME
    Plack::Middleware::Test::StashWarnings - Test your application's
    warnings

SYNOPSIS
      enable "Test::StashWarnings";


      use Storable 'thaw';
      $mech->get('/__test_warnings');
      my @warnings = @{ thaw($mech->content) };
      like(@warnings[0], qr/No private key/);

DESCRIPTION
    Plack::Middleware::Test::StashWarnings is a Plack middleware component
    to record warnings generated by your application so that you can test
    them to make sure your application complains about the right things.

AUTHOR
    Shawn M Moore "sartak@bestpractical.com"

    Tatsuhiko Miyagawa wrote Plack::Middleware::Test::Recorder which served
    as a model for this module.

LICENSE
    This library is free software; you can redistribute it and/or modify it
    under the same terms as Perl itself.

SEE ALSO
    Test::HTTP::Server::Simple::StashWarnings

Something went wrong with that request. Please try again.