1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
|
#!/usr/bin/env perl
package Test::InnerTodo;
use strict;
use warnings;
use Fennec;
describe outer => (
todo => 'foo',
code => sub {
ok( 0, "outer: This should be todo" );
tests outer_tests => sub {
ok( 0, "outer_test: This should be todo" );
};
describe inner => sub {
ok( 0, "inner: This should be todo" );
tests inner_tests => sub {
ok( 0, "inner_test: This should be todo" );
};
};
},
);
tests outside => (
todo => 'foo',
code => sub {
ok( 0, "outside_test: This should be todo" );
},
);
tests not_todo => sub {
ok( 1, "Not todo" );
};
done_testing;
|