Subject: | skip_rest |
Date: | Tue, 18 Sep 2007 19:48:26 -0700 |
To: | bugs-Test-Simple [...] rt.cpan.org |
From: | Michael G Schwern <schwern [...] pobox.com> |
Show quoted text
-------- Original Message --------
Subject: skip_rest
Date: Sun, 2 Sep 2007 23:40:44 +0100
From: Chia-Liang Kao <clkao@clkao.org>
To: mschwern@cpan.org
please implement skip_rest in Test::More
there's code in both jifty::test::www::selenium and jifty::testserver doing so:
# dirty hack until Test::Builder->skip_rest comes true
my $why = "live test doesn't work on Win32 at the moment";
$Tester->skip($why);
unless ($Tester->{No_Plan}) {
for (my $ct = $Tester->{Curr_Test};
$ct < $Tester->{Expected_Tests};
$ct++
) {
$Tester->skip($why); # skip rest of the test
}
}
exit(0);
--
Hating the web since 1994.