httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: Perl test framework, TestConfig, and debugging A::T
Date Wed, 14 Jan 2004 19:03:12 GMT
William, you need to move the config files from conf to t/conf and make them 
test.conf.in and test-ssl.conf.in. usually people put ssl into a separate 
directory, so you will probably want to do:

t/conf/extra.conf.in
t/conf/test.conf.in
t/conf/ssl/test.conf.in

conf/startup.pl needs to be t/conf/modperl_extra.pl and it'll be automatically 
loaded.

once you moved those things you need again to adjust those files to use 
@ServerRoot@ and other tokens. If you don't put those files into t/conf A-T 
doesn't know about them and obivously your hostport thing doesn't work.

Take a look at the httpd-test cvs repository. Dive into perl-framework sub-dir 
and look around. This framework used for testing apache, has both, ssl and 
non-ssl configs in it. They all located under t/conf.

Once you do all that and before you upload a new package, you should be able 
to untar it in a new place (e.g. /tmp) and run your tests. If some tests fail 
it's OK, but the test suite should run. And it doesn't at the moment.

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


Mime
View raw message