On 7/20/06, A. Pagaltzis <[EMAIL PROTECTED]> wrote:

    use Test::More;

    plan tests => my $tests;

    {
        require_ok( 'MyModule' );
        my $obj = MyModule->new();
        isa_ok( $obj, 'MyModule' );
    }
    BEGIN { $tests += 3 }
[snip clever code]

Like Schwern said, this stuff is very cool. I will use it to improve
my tests. Thanks for sharing. And now it is shared for evermore in the
FAQ.

Reply via email to