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

2004-01-19 Thread William McKee
On Mon, Jan 19, 2004 at 09:25:35AM +1300, Nick Phillips wrote: > It seems you are going through pretty much what I did a month or two > ago. I'm glad to hear it's not just me! > And eventually Stas said something that triggered that in me, too. But > I do think that a better tutorial document

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

2004-01-19 Thread Geoffrey Young
> So let me see if I follow you. The request script is the client and > should output the test results. The response handler is handling the > server-side requests. It can send information back to the client to > output. It looked, though, like Geoff was using examples such as plan > $r, tests=>9

Re: Response Handlers (was Re: Perl test framework, TestConfig, and debugging A::T)

2004-01-19 Thread Geoffrey Young
> I would appreciate some recommendations > for books that explain the big picture view of testing. Have any titles > on your bookshelf that you'd suggest for someone like myself? I don't > know of any books that discuss testing specifically from a Perl > perspective. Do you? ORA had one in the wo

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

2004-01-19 Thread Nick Phillips
On 20/01/2004, at 2:48 AM, Geoffrey Young wrote: So let me see if I follow you. The request script is the client and should output the test results. The response handler is handling the server-side requests. It can send information back to the client to output. It looked, though, like Geoff was usi

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

2004-01-19 Thread Geoffrey Young
>> now, Apache-Test gets tricky. it _also_ makes sure that the server >> response >> gets funneled to Test::Harness if you use the plan $r, tests => 9 syntax > I think this makes it sound trickier than it needs to; AIUI the feeding the > results back to Test::Harness is nothing to do with what s

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

2004-01-19 Thread Stas Bekman
Geoffrey Young wrote: now, Apache-Test gets tricky. it _also_ makes sure that the server response gets funneled to Test::Harness if you use the plan $r, tests => 9 syntax I think this makes it sound trickier than it needs to; AIUI the feeding the results back to Test::Harness is nothing to do wit

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

2004-01-19 Thread Stas Bekman
Stas Bekman wrote: [...] But that's exactly what is happening. Test::Harness runs only only the client side, it actually runs the clients. Test::Harness in the A-T setup has no idea the server side exists at all. The server side can run ok/skip/etc via Test, Test::More, Apache::Test, etc. it th