[dancer-users] Plack::Test and Sessions
xsawyerx at gmail.com
Wed Aug 6 12:16:09 BST 2014
I like the ability to test with cookies using Plack::Test alone, but I
don't like having to purse cookie headers in order to accomplish it.
Plack::Request has the "cookies" attribute which does that. If we could
use that code (not copy-pasted though) to parse the headers and have it, we
could remove Test::TCP and LWP::UserAgent::PSGI from the test suite.
On Wed, Aug 6, 2014 at 11:17 AM, Stefan Hornburg (Racke) <racke at linuxia.de>
> Today, my coworker fixed a problem with Dancer2::Session::DBIC and we
> needed a test
> that relies on maintaining the session.
> I looked for other session tests in Dancer2 core and other session
> engines, but
> they are using Test::TCP.
> My coworker found out that this can be tested with Plack::Test as well:
> So no need to use a different test module for sessions :-).
> Perl and Dancer Development
> Visit our Perl::Dancer conference 2014:
> dancer-users mailing list
> dancer-users at dancer.pm
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the dancer-users