Faked passing tests are not cool, and nor are __END__ sections, as those will
break aggregation.
If we actually want to prevent the body of the tests from being compiled,
putting the C<< plan skip_all => ... >> in a BEGIN block is the right thing to
do.
use Test::More;
-ok 0, 'Known broken currently';
-done_testing;
-
-__END__
+plan skip_all => 'Known broken currently';
eval "use FCGI";
plan skip_all => 'FCGI required' if $@;
use Test::More;
-ok 0, 'Known broken currently';
-done_testing;
-
-__END__
+plan skip_all => 'Known broken currently';
eval "use FCGI";
plan skip_all => 'FCGI required' if $@;