Subject: | skip_all does not exist (0.37) |
See http://www.cpantesters.org/cpan/report/2bfeb116-9281-11e4-8cf3-032fe0bfc7aa for a sample fail report. "skip_all" does not exist in Test::More, maybe you meant "plan skip_all", but even this won't work, because you created the plan before in the "use Test::More" line. What could work is something like this:
use Test::More; # without plan
...
my $mw = eval { MainWindow->new };
if (!$mw) {
plan skip_all => "Can't create Tk window: $@";
}
# and now you can plan:
plan tests => ...;