Skip to content

Commit

Permalink
0.08 and its Changes
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmv committed May 16, 2014
1 parent fdc172a commit 2b1505d
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Changes
@@ -1,5 +1,9 @@
Revision history for Perl extension Plack::Middleware::Test::StashWarnings

0.08 2014-05-16
- Add a 'verbose' option to control if warnings are propagated
through to an existing WARN handler.

0.07 2012-11-12
- Test updates to work with newer Test::Harness

Expand Down
8 changes: 8 additions & 0 deletions README
Expand Up @@ -30,6 +30,14 @@ DESCRIPTION
Test::WWW::Mechanize you can just "get" that URL and "thaw" in Storable
its content.

ARGUMENTS
Plack::Middleware::Test::StashWarnings takes one optional argument,
"verbose", which defaults to $ENV{TEST_VERBOSE}. If set to true, it will
bubble warnings up to any pre-existing "__WARN__" handler. Turning this
explicitly off may be useful if your tests load Test::NoWarnings and
also use Test::WWW::Mechanize::PSGI for non-forking testing -- failure
to do so would result in test failures even for caught warnings.

RATIONALE
Warnings are an important part of any application. Your web application
should warn its operators when something is amiss.
Expand Down
2 changes: 1 addition & 1 deletion lib/Plack/Middleware/Test/StashWarnings.pm
Expand Up @@ -2,7 +2,7 @@ package Plack::Middleware::Test::StashWarnings;

use strict;
use 5.008_001;
our $VERSION = '0.07';
our $VERSION = '0.08';

use parent qw(Plack::Middleware);
use Carp ();
Expand Down

0 comments on commit 2b1505d

Please sign in to comment.