libplack-middleware-test-stashwarnings-perl

Module for testing plack application warnings
  https://metacpan.org/release/Plack-Middleware-Test-StashWarnings
  0
  no reviews



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.

the warnings generated by your application are available at a special url (/__test_warnings), encoded with storable/nfreeze. so using test::www::mechanize you can just get that url and storable/thaw its content.