stas 02/05/19 02:37:17
Modified: src/docs/2.0/devel/testing testing.pod
Log:
- adjust have_module docs
- document the APACHE_TEST_COLOR feature
Revision Changes Path
1.21 +14 -5 modperl-docs/src/docs/2.0/devel/testing/testing.pod
Index: testing.pod
===================================================================
RCS file: /home/cvs/modperl-docs/src/docs/2.0/devel/testing/testing.pod,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- testing.pod 17 May 2002 17:59:18 -0000 1.20
+++ testing.pod 19 May 2002 09:37:17 -0000 1.21
@@ -258,7 +258,7 @@
choice. that's approximately the time it takes to configure and start
the server on a quite slow machine.
-=head2 Verbose Testing
+=head2 Verbose Mode
In case something goes wrong you should run the tests in the verbose
mode:
@@ -283,12 +283,21 @@
-clean> is run, I<t/logs/error_log> gets deleted, therefore you have
to run the tail(1) command again, when the server is started.
-=head2 Controlling the Apache::Test's Sound to Noise Ratio
+=head2 Colored Trace Mode
+
+If your terminal supports colored text you may want to set the
+environment variable C<APACHE_TEST_COLOR> to 1 to enable the colored
+tracing which makes it easier to tell the reported errors and
+warnings, from the rest of the notifications. Make sure that the
+environment variable C<APACHE_TEST_COLOR> is set to 0 (or not set at
+all) if you redirect the output from the testing to a file.
+
+=head2 Controlling the Apache::Test's Signal to Noise Ratio
In addition to controlling the verbosity of the test scripts, you can
control the amount of information printed by the C<Apache::Test>
framework itself. Similar to Apache's log levels, C<Apache::Test> uses
-these levels for controlling its sound to noise ratio:
+these levels for controlling its signal to noise ratio:
emerg alert crit error warning notice info debug
@@ -1827,10 +1836,10 @@
at least one of the modules is not found it returns a false value,
otherwise it returns a true value. For example:
- plan tests => 5, have_module qw(Chatbot::Eliza Apache::AI);
+ plan tests => 5, have_module qw(Chatbot::Eliza CGI mod_proxy);
will skip the whole test unless both Perl modules C<Chatbot::Eliza>
-and C<Apache::AI> are available.
+and C<CGI> and the C module I<mod_proxy.c> are available.
=item * have
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]