[svn:parrot] r47997 - trunk/lib/Parrot/Test/Util
jkeenan at svn.parrot.org
jkeenan at svn.parrot.org
Mon Jul 5 01:21:59 UTC 2010
Author: jkeenan
Date: Mon Jul 5 01:21:58 2010
New Revision: 47997
URL: https://trac.parrot.org/parrot/changeset/47997
Log:
Improve POD formatting a bit.
Modified:
trunk/lib/Parrot/Test/Util/Runloop.pm
Modified: trunk/lib/Parrot/Test/Util/Runloop.pm
==============================================================================
--- trunk/lib/Parrot/Test/Util/Runloop.pm Mon Jul 5 01:14:44 2010 (r47996)
+++ trunk/lib/Parrot/Test/Util/Runloop.pm Mon Jul 5 01:21:58 2010 (r47997)
@@ -19,18 +19,19 @@
=head1 DESCRIPTION
This module provides a basic runloop for test scripts which perform the same
-test, over and over, on lots of files. It is intended to consolidate some code
-to handle loops, skips etc, replicated many times in the t/distro/ and
-t/codingstd/ test directories.
+test, over and over, on lots of files. It is intended to consolidate some
+code to handle loops, skips etc, replicated many times in the F<t/distro/> and
+F<t/codingstd/> test directories.
You can specify a callback routine to get called back once per line (with the
-per_line attribute), or once per file (with the per_file attribute). The
-per_line callback gets passed the line as a text string. The per_file callback
-gets passed the whole file as a text string. If the callback function returns
-positive, the test passed, otherwise the test failed. Failures are tallied,
-and later reported to the test harness once, as a single test. On failure,
-some informational diagnostics are also generated, showing the user which
-file(s) and which line(s) (if applicable) had the failure.
+C<per_line> attribute), or once per file (with the C<per_file> attribute).
+The C<per_line> callback gets passed the line as a text string. The
+C<per_file> callback gets passed the whole file as a text string. If the
+callback function returns positive, the test passed, otherwise the test
+failed. Failures are tallied, and later reported to the test harness once, as
+a single test. On failure, some informational diagnostics are also generated,
+showing the user which file(s) and which line(s) (if applicable) had the
+failure.
=head1 AUTHOR
More information about the parrot-commits
mailing list