httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <>
Subject Re: Perl test framework, TestConfig, and debugging A::T
Date Wed, 14 Jan 2004 19:21:13 GMT
William McKee wrote:
> On Wed, Jan 14, 2004 at 10:51:56AM -0800, Stas Bekman wrote:
>>Thanks William, but your package has a problem - it uses hardwired paths 
>>(/home/william/perl/Apache-TestTest) , which obviously prevent me (or 
>>anybody else) from using it. You need to use: @ServerRoot@, @DocumentRoot@ 
>>and other placeholders in the config files and Apache::Test->config in perl 
> Yeah, after I posted it I realized that I had created a bit of a beast.
> I was mimicing the setup that I created for a project that I'm
> shoehorning into the A::T environment.
> Let me fix the test module and repost it. I'll split off the module that
> tests the CGI::Application stuff within an A::T environment to keep
> things as simple as possible. I'll let you know when it's available.


>>and Apache::Test->config in perl files:
>>my $dir = catdir Apache::Test::config()->{vars}->{documentroot}, '...',
>>We need better docs for this configuration issue. Patches are very welcome.
> I'm not sure I follow your comment. Am I misusing this somewhere?



but it shouldn't be there at all, since that's the whole point of 

>>Meanwhile I'll try to s/// your hardcoded path to my hardcoded path and see 
>>if I can move forward
> Don't spend too much time on that. It's rather messy.


Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker     mod_perl Guide --->

View raw message