X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Manual.git;a=blobdiff_plain;f=lib%2FCatalyst%2FManual%2FTutorial%2FTesting.pod;h=2b771b3f79a0b2f6607e25d3b086f1d10cdb0812;hp=ffdbd316bab3d50435e327e4c00d15c13ee51690;hb=6a72d1bf08361c568bb6bd4c86d42016227c9681;hpb=d04961970a25ec3dc831f89be5cd6e27fdec884a diff --git a/lib/Catalyst/Manual/Tutorial/Testing.pod b/lib/Catalyst/Manual/Tutorial/Testing.pod index ffdbd31..2b771b3 100644 --- a/lib/Catalyst/Manual/Tutorial/Testing.pod +++ b/lib/Catalyst/Manual/Tutorial/Testing.pod @@ -65,7 +65,8 @@ pieces of your application over time. You can checkout the source code for this example from the catalyst subversion repository as per the instructions in -L +L. + =head1 RUNNING THE "CANNED" CATALYST TESTS @@ -103,6 +104,8 @@ Cis_redirect> in C. 3) Change the Cis_success> to Cis_redirect> in C. +4) Add C to the top of C. + As you can see in the C command line above, the C<--lib> option is used to set the location of the Catalyst C directory. With this command, you will get all of the usual development server debug output, @@ -288,7 +291,7 @@ or Experiment with the C, C and C<-v> settings. If you find that there are errors, use the -techniques discussed in the "Catalyst Debugging" section (Part 6) to +techniques discussed in the "Catalyst Debugging" section (Part 7) to isolate and fix any problems. If you want to run the test case under the Perl interactive debugger, @@ -314,7 +317,7 @@ lies. A simple technique that can be used in such situations is to temporarily insert a line similar to the following right after the failed test: - warn $ua1->content; + diag $ua1->content; This will cause the full HTML returned by the request to be displayed. @@ -356,8 +359,8 @@ Kennedy Clark, C Please report any errors, issues or suggestions to the author. The most recent version of the Catalyst Tutorial can be found at -L. +L. -Copyright 2006, Kennedy Clark, under Creative Commons License -(L). +Copyright 2006-2008, Kennedy Clark, under Creative Commons License +(L).