Re: Perl test framework, TestConfig, and debugging A::T

2004-01-16 Thread Stas Bekman
Stas Bekman wrote: William McKee wrote: On Wed, Jan 14, 2004 at 08:41:01PM -0800, Stas Bekman wrote: Cool, now I get the thing running. Great. Are you getting any failures? Please read my notes in testnotes.txt. Yes. I will look at the failures soonish. I don't have apache 1.3 with ssl so I can't

Re: Perl test framework, TestConfig, and debugging A::T

2004-01-16 Thread Stas Bekman
Stas Bekman wrote: Stas Bekman wrote: William McKee wrote: On Wed, Jan 14, 2004 at 08:41:01PM -0800, Stas Bekman wrote: Cool, now I get the thing running. Great. Are you getting any failures? Please read my notes in testnotes.txt. Yes. I will look at the failures soonish. I don't have apache 1.

Re: Perl test framework, TestConfig, and debugging A::T

2004-01-16 Thread Stas Bekman
William McKee wrote: --- testing.pod.orig 2004-01-14 22:15:37.0 -0500 +++ testing.pod 2004-01-14 21:16:30.0 -0500 @@ -361,7 +358,7 @@ in order to try to detect as many problems as possible during the testing process, it's may be useful to run tests in different orders. -This if

Re: Perl test framework, TestConfig, and debugging A::T

2004-01-16 Thread William McKee
On Thu, Jan 15, 2004 at 04:24:41PM -0800, Stas Bekman wrote: > I don't have apache 1.3 with ssl so I can't test it. And it doesn't quite > work with apache/mp 2.0 because you have hardcoded mp1 API. Please see the > porting doc: http://perl.apache.org/docs/2.0/user/porting/porting.html > http://p

Re: Perl test framework, TestConfig, and debugging A::T

2004-01-16 Thread William McKee
On Thu, Jan 15, 2004 at 05:08:39PM -0800, Stas Bekman wrote: > strange, I saw it once and could never reproduce it again. What is the > sequence of commands when you get it? > > t/TEST -start > t/TEST -run-tests t/03_hostport.t > > can't work alone, you need to tell the httpd or apxs location

Re: Perl test framework, TestConfig, and debugging A::T

2004-01-16 Thread William McKee
On Fri, Jan 16, 2004 at 01:03:00PM -0500, William McKee wrote: > On Thu, Jan 15, 2004 at 04:24:41PM -0800, Stas Bekman wrote: > > I don't have apache 1.3 with ssl so I can't test it. And it doesn't quite > > work with apache/mp 2.0 because you have hardcoded mp1 API. Please see the > > porting do

Re: Perl test framework, TestConfig, and debugging A::T

2004-01-16 Thread William McKee
On Thu, Jan 15, 2004 at 09:03:54PM -0800, Stas Bekman wrote: > I didn't commit this part. I'm not sure we want to duplicate the porting > guide in this document. Instead of duplicating things, I've added a section > telling that this document uses mp2 in examples and gave a pointer to the > chap

Re: Perl test framework, TestConfig, and debugging A::T

2004-01-16 Thread Geoffrey Young
> Good point. Is the following correct: > > plan tests => 5, have 'LWP', 'Crypt::SSLeay'; > you can use have_lwp() to check for LWP support. have_module() is handy too. > OK. FYI, I didn't see anything about this in the docs. I looked at the > t/ dir in Apache::Test and only see request.t

Re: Perl test framework, TestConfig, and debugging A::T

2004-01-16 Thread William McKee
On Fri, Jan 16, 2004 at 02:01:15PM -0500, Geoffrey Young wrote: > you can use have_lwp() to check for LWP support. have_module() is handy too. Thanks. > > OK. FYI, I didn't see anything about this in the docs. I looked at the > > t/ dir in Apache::Test and only see request.t and ping.t. The > >

Re: Perl test framework, TestConfig, and debugging A::T

2004-01-16 Thread Geoffrey Young
> Honestly, I am trying my best. The problems I am encountering are > changing perspective from a cgi to a mod_perl framework which thus > entails learning lots more about the Apache server than I've ever known > before. My apologies if you think these questions are inane or > off-topic. no, I'm

Re: Perl test framework, TestConfig, and debugging A::T

2004-01-16 Thread William McKee
On Fri, Jan 16, 2004 at 02:30:45PM -0500, Geoffrey Young wrote: > no, I'm sorry - I didn't mean to sound so harsh. it just seemed to me that > this was becoming a very long thread comprised mostly of things that I knew > were answered already. apparentlly, not clearly enough, though :) Thanks fo

Re: Perl test framework, TestConfig, and debugging A::T

2004-01-16 Thread William McKee
On Fri, Jan 16, 2004 at 02:30:45PM -0500, Geoffrey Young wrote: > if you're feeling a bit overwhelmed but have Apache-Test installed, I'd > suggest that you start with this > > http://perl.apache.org/~geoff/bug-reporting-skeleton-mp1.tar.gz > > examine it, run it, and get a feel for how the test

Re: Perl test framework, TestConfig, and debugging A::T

2004-01-16 Thread Geoffrey Young
> Just starting to review this module but have a quick question about the > layout. Why is the perl module in t/My/Bug.pm and not in lib/My/Bug.pm? > In most projects, the modules to be tested are in lib/, no? the module was made specifically for mod_perl bug reporting - mod_perl adds ServerRoot

Re: Perl test framework, TestConfig, and debugging A::T

2004-01-16 Thread William McKee
On Thu, Jan 15, 2004 at 05:08:39PM -0800, Stas Bekman wrote: > strange, I saw it once and could never reproduce it again. What is the > sequence of commands when you get it? That is interesting. Right now, I'm playing with Geoff's bug-reporting-skeleton-mp1 running my my Apache 1.3.29 server with