On Thu, 21 Jun 2001, Geoffrey Young wrote:
> since Apache::Test seems to be the hot topic of late, I was wondering if I
> could make a few (well, two) requests :)
>
> 1. I tried to implement skip() functionality, but couldn't get my head
> around it. its probably an important component to have eventually.
if you say use Apache::Test; you get Apache::Test::plan, which lets you
say:
plan tests => $ntests, \&condition;
if condition() returns false, the tests are skipped.
> 2. the current logic is broken for 1.3 when using extra.conf. the problem is
> that the Include that brings in extra.conf happens before the PerlRequire
> that automatically calls 'use blib' (well, the equivalent anyway). I have
> tried lots of ways to get around this, the easiest was to place PerlRequire
> in the preamble instead of the postamble, but that broke the existing 2.0
> tests. All of my other attempts didn't quite get there either, since the
> directives are in an array and don't seem to always have a 1-1 relationship
> the ordering gets sticky. I thought about some complex tie interface that
> would reorder based on $self->server->version_of, but it seemed a bit much.
> it probably just needs another set of eyes looking at it...
i'll look into this later.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]