I like to use the argument done_testing accepts that lets you say how many tests you expected to have run at that stage.
Its like specifying a plan, except you can do so pro grammatically after the fact, which eliminates the need for tedious manual counting.
All you need to know is how many tests occur within a given block of code and increment your counter respectively.
use Test::More;
my $t;
$t+=2;
foreach ( list() ) {
ok( $_, 'List member ok' );
}
$t+=3; # list called the second time emits more items.
foreach ( list() ) {
ok( $_, 'List member ok' );
}
done_testing( $t ); # $t is 5
There's surely a better way to get the same effect.
I was kinda going for the butterfly taking fight w/ minimalisim, kinda to invoke the whole "late stage development", "maturing past pupa", "taking flight", "new, and yet somewhat mature at the same time" ideas.
But its still pretty suck.
I won't be notifying of every new package added to the overlay, just the ones that are significant to me and have substantial stacks of depends.
As of yesterday, Dist::Zilla [1] is available on the Gentoo Perl Overlay [2]
Hopefully this encourages the use of the awesome module.
( I've been doing this on my own branch for a few months, and only integrated it yesterday, which is why you'll see lots of back-history arriving overnight )
I've been meaning to state this sooner, but things get away on you and you
procrastinate.
As of this week, Task::Kensho and all its dependents are available on the
gentoo perl overlay [1][2], free for your installation.
Noted some of the dependents are still Masked, and if you want them, you'll
have to unmask them yourself, But its available, and its being used, and thats
what matters.