in reply to Re: Test::Builder::skip() not dwimming.
in thread Test::Builder::skip() not dwimming.

return 'Wanting to skip the DEMO_1 tests';

Heh ... that's a nice solution to the problem ... and sort of obvious ... mumble, mumble :-)

It doesn't really show me what one is supposed to do with Test::Builder::skip(), but I'm fast losing interest in that, anyway. Thanks, Anonymous Monk.

Cheers,
Rob
Update: Thinking about this solution a little more, there's a couple of minor quibbles, iinm. Firstly, providing a return message is pointless, since one never gets to see it. Secondly, there's no acknowledgement of the fact that any tests have been skipped. (Still ... it's a rather clean solution.)
  • Comment on Re^2: Test::Builder::skip() not dwimming.

Replies are listed 'Best First'.
Re^3: Test::Builder::skip() not dwimming.
by chromatic (Archbishop) on Sep 03, 2008 at 18:01 UTC
    Firstly, providing a return message is pointless, since one never gets to see it. Secondly, there's no acknowledgement of the fact that any tests have been skipped.

    Call diag() first, then return.