YAPC::NA 2011 • Asheville, NC

Testing with PSGI
By Doug Bell (‎preaction‎) from Chicago.pm
Date: Wednesday, 29 June 2011 13:50
Duration: 20 minutes
Target audience: Intermediate
Language:
Tags: mechanize plack testing


Using Test::WWW::Mechanize::PSGI to test the front-end of your web application as a user would.

Why unit test your application? The users won't be using the API, they'll be using your forms and links. Shouldn't you be absolutely sure those forms and links work as expected?

Some knowledge of writing web apps assumed, though a simple example will be provided.

Attended by: