[dancer-users] Plack::Test and Sessions

Stefan Hornburg (Racke) racke at linuxia.de
Wed Aug 6 10:17:31 BST 2014


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:

https://github.com/interchange/Dancer2-Session-DBIC/blob/master/t/schema.t

So no need to use a different test module for sessions :-).

Regards
	Racke

-- 
Perl and Dancer Development

Visit our Perl::Dancer conference 2014:

http://act.perl.dance/


More information about the dancer-users mailing list