perl-docs-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject cvs commit: modperl-docs/src/docs/2.0/devel/writing_tests writing_tests.pod
Date Thu, 27 Dec 2001 05:08:42 GMT
stas        01/12/26 21:08:42

  Modified:    src/docs/2.0/devel/writing_tests writing_tests.pod
  Log:
  - document special configuration files
  
  Revision  Changes    Path
  1.27      +30 -5     modperl-docs/src/docs/2.0/devel/writing_tests/writing_tests.pod
  
  Index: writing_tests.pod
  ===================================================================
  RCS file: /home/cvs/modperl-docs/src/docs/2.0/devel/writing_tests/writing_tests.pod,v
  retrieving revision 1.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- writing_tests.pod	2001/12/27 04:57:44	1.26
  +++ writing_tests.pod	2001/12/27 05:08:42	1.27
  @@ -1768,11 +1768,6 @@
   plan(), ok() and other functions() will work correctly more than one
   test is running under the same interpreter.
   
  -
  -
  -
  -
  -
   =head2 Auto Configuration
   
   If the test is comprised only from the request part, you have to
  @@ -1920,6 +1915,36 @@
   The valid tokens are defined in C<%Apache::TestConfig::Usage> and also
   can be seen in the output of C<t/TEST -help>'s I<configuration
   options> section. The tokens are case insensitive.
  +
  +=head2 Special Configuration Files
  +
  +Some of the files in the I<t/conf> directory have a special meaning,
  +since the C<Apache::Test> framework uses them for the minimal
  +configuration setup. But they can be overriden:
  +
  +=over
  +
  +=item *
  +
  +if the file I<t/conf/httpd.conf.in> exists, it will be used instead of
  +the default template (in I<Apache/TestConfig.pm>).
  +
  +=item *
  +
  +if the file I<t/conf/extra.conf.in> exists, it will be used to
  +generate I<t/conf/extra.conf> with C<@variable@> substitutions.
  +
  +=item *
  +
  +if the file I<t/conf/extra.conf> exists, it will be included by
  +I<httpd.conf>.
  +
  +=item *
  +
  +if the file I<t/conf/modperl_extra.pl> exists, it will be included by
  +I<httpd.conf> as a mod_perl file (PerlRequire)
  +
  +=back
   
   =head2 Threaded versus Non-threaded Perl Test's Compatibility
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-cvs-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-cvs-help@perl.apache.org


Mime
View raw message