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

The Test::Builder::skip documentation suggests to me that my usage is correct.

No, it doesn't. skip() is documented under:

Other Testing Methods These are methods which are used in the course of writing a test but are not themselves tests.

It has nothing to do with control flow. It reports one test as skipped and then immediately returns. If you run a test afterward with an actual testing method, that's a new test.

Of course, you should only use Test::Builder directly if you're writing a test module. Don't use it directly to run tests. Use Test::Class and Test::More.

Replies are listed 'Best First'.
Re^4: Test::Builder::skip() not dwimming.
by syphilis (Archbishop) on Sep 04, 2008 at 01:12 UTC
    Don't use it directly to run tests. Use Test::Class and Test::More

    Aaah, that's what I needed to know ... I now start to get the picture. Thanks for your replies, chromatic.

    Cheers,
    Rob