- done_testing
done_testing
I am not a fan of it, but in rare cases it is useful to know that done_testing can be used to signal all tests have been done.
This way we don't need to have a "plan".
examples/test-more/t/done_testing.t
use strict; use warnings; use MySimpleCalc qw(sum); use Test::More; is sum(1, 1), 2, '1+1'; is sum(2, 2), 4, '2+2'; done_testing;