Hi All!

If one of my tests fail, other tests should not be executed. In order to stop execution, I use the following code:

sub test_001_load {
    my $self = shift;
    if ($loaded_nok) {
        $self->fail("Unrecoverable error, can't continue.");
        exit;
    }
}

Is it a proper way? Is there any $suite->stop method?

--
Dmitry.



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Perlunit-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/perlunit-users

Reply via email to