X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FManual%2FTutorial%2FTesting.pod;h=6d7d37b15d72bb13594fffd330845d9f570a9fc6;hb=cc548726047214bd2b51a6b3a287896ac65b7b9b;hp=527d42e821ff6e12f79374b1e2cbb09f465493d2;hpb=c09c6cd743a02ecebd5ad1277475baec2a8df400;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst/Manual/Tutorial/Testing.pod b/lib/Catalyst/Manual/Tutorial/Testing.pod index 527d42e..6d7d37b 100644 --- a/lib/Catalyst/Manual/Tutorial/Testing.pod +++ b/lib/Catalyst/Manual/Tutorial/Testing.pod @@ -68,7 +68,7 @@ following command: =head1 RUNNING THE "CANNED" CATALYST TESTS There are a variety of ways to run Catalyst and Perl tests (for example, -C and C, but one of the easiest is with the +C and C), but one of the easiest is with the C command. For example, to run all of the tests in the C directory, enter: @@ -135,9 +135,10 @@ For example: Although the Catalyst helper scripts provide a basic level of checks "for free," testing can become significantly more helpful when you write your own script to exercise the various parts of your application. The -L module is very popular for writing -these sorts of test cases. This module extends L -(and therefore L) to allow you to automate the action of +L module +is very popular for writing these sorts of test cases. This module +extends L (and therefore +L) to allow you to automate the action of a user "clicking around" inside your application. It gives you all the benefits of testing on a live system without the messiness of having to use an actual web server, and a real person to do the clicking. @@ -241,12 +242,14 @@ editor and enter the following: The C test cases uses copious comments to explain each step of the process. In addition to the techniques shown here, there are a -variety of other methods available in L -(for example, regex-based matching). Consult the documentation for more +variety of other methods available in +L (for +example, regex-based matching). Consult the documentation for more detail. B: For I vs. the "full application tests" approach used -by L, see L. +by L, see +L. B The test script does not test the C and C actions. That is left as an exercise for the reader @@ -309,6 +312,7 @@ launch your normal application without the C environment variable defined, it will default to the same C as before. + =head1 AUTHOR Kennedy Clark, C @@ -318,5 +322,3 @@ Please report any errors, issues or suggestions to the author. Copyright 2006, Kennedy Clark, under Creative Commons License (L). -Version: .94 -