2. Have you seen these tests?
is_deeply(
get_recipes(),
[qw/ lemon_curd pancakes enchiladas /],
‘all of the recipes are there’
);
SKIP: {
skip ‘No ingredients’, 2, if @ingredients < 1;
is( $number, 23, ‘and the number is 23’ );
};
dies_ok(
sub { eat_cake },
qr/Cake isn’t chocolate/,
‘only eat chocolate cake’
);
83. Review
Make your tests easy to run
Run them often
Test your modules
Test your scripts
Improve your code coverage with Devel::Cover
84. Review
Make your tests easy to run
Run them often
Test your modules
Test your scripts
Improve your code coverage with Devel::Cover
Use version control, and check in often
85. Review
Make your tests easy to run
Run them often
Test your modules
Test your scripts
Improve your code coverage with Devel::Cover
Use version control, and check in often
Reuse your test code