Plack::Test Backend Selection

I'm working on the testing section of the Little Plack Book. Simplified testing is a huge benefit of Plack, but Plack's flexibility is evident even in Plack::Test.

You can run your tests against a mock HTTP server with Plack::Test, but you can also run them against any server backend supported by a Plack::Handler.

If you use Plack::Test (whether directly or through something which builds on Plack::Test), when do you use a real server backend? What are your motivations for doing so?

I've come up with "standard devops paranoia" and "testing server compliance" as two good reasons. What others exist?

Modern Perl: The Book

cover image for Modern Perl: the book

The best Perl Programmers read Modern Perl: The Book.

sponsored by the How to Make a Smoothie guide

Categories

Pages

About this Entry

This page contains a single entry by chromatic published on September 19, 2011 11:30 AM.

Why Novice Programmers Can't Program (and how to fix it) was the previous entry in this blog.

Plack::Test and Great Test:: Interfaces is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.


Powered by the Perl programming language

what is programming?