Permalink
Browse files

Added initial files for Plack testing chapter.

  • Loading branch information...
1 parent 7ed28d0 commit 18962fc7a5cd397a35d09c7d791a8e25d7ac75a8 @chromatic committed Sep 16, 2011
Showing with 25 additions and 0 deletions.
  1. +19 −0 sections/chapter_03.pod
  2. +3 −0 sections/mech_psgi.pod
  3. +3 −0 sections/plack_test.pod
@@ -0,0 +1,19 @@
+=head0 Testing Plack Applications
+
+The Perl community as a whole trusts that its software works because of a
+relentless focus on automated testing. If you've installed distributions from
+the CPAN, you've seen that the best code tends to have plenty of tests which
+run before installation. The same tools and techniques used to test modules and
+distributions are available to test applications. Perl and the CPAN make that
+easy.
+
+True to form, Plack and PSGI make testing your applications easy, too. Because
+you can deploy any well-written Plack application to any conforming Plack
+backend, you don't have to spend your development time configuring and
+deploying an application to run fragile tests against it. Your tests can have
+full control over the testing environment of your application--with or without
+even running a web server locally--thanks to C<Plack::Test>.
+
+L<plack_test>
+
+L<mech_psgi>
@@ -0,0 +1,3 @@
+=head1 Testing with C<Test::WWW::Mechanize::PSGI>
+
+Z<mech_psgi>
@@ -0,0 +1,3 @@
+=head1 Testing with C<Plack::Test>
+
+Z<plack_test>

0 comments on commit 18962fc

Please sign in to comment.