On Tuesday, June 24, 2003, at 07:53 pm, Michael G Schwern wrote:


On Tue, Jun 24, 2003 at 12:07:19PM +0100, Fergal Daly wrote:
Consider the following.

    use Test::More;
    use Test::Warn::None;
    plan tests => 42;

To make this work I'd have to overhaul the internal Test::Builder planning
system to allow Test::Warn::None to say "I'm going to add an extra test,
please remember this fact". I can be convinced its worth it.

It seems like a good idea to me. Are there any other modules that would use
it?

Potentially, but I can't think of anything at the moment.

The thread from the start of May about having optional / extendable plans supported by Test::Harness would seem to be a good match for this feature.


http://archive.develooper.com/[EMAIL PROTECTED]/msg01883.html (Plan is YAGNI)

Test::Warn::None could then just extend the plan in the END block with no worries about mucking up existing plans.

(Nice module BTW - and my vote is for Test::NoWarnings as the name :-)

Adrian



Reply via email to