Justin DeVuyst wrote:
> Hello,
>
> I was told this might be a place to get information about
> upcoming Test::Builder changes.
>
> I'd like to know if and when Test::Builder will officially
> support true plan at end. The current version of
> Test::Builder reports 1..$seen_tests instead of
> 1..$expected_tests.
>
> I've had to resort to a hack like this in one of my modules
> to get around the deficiency:
>
> my $original_sub = \&Test::Builder::_ending;
> *Test::Builder::_ending = sub {
> my $builder = shift;
> $builder->expected_tests( $builder->{Expected_Tests} );
> $builder->no_header( 1 );
> return $self_builder->$original_sub( @_ );
> };
>
> Which I would like to dump ASAP.
Yes, this is the deferred plan.
http://code.google.com/p/test-more/issues/detail?id=1
I don't plan on supporting it until TB2, but if someone produced a complete
patch I'd take it.
--
I have a date with some giant cartoon robots and booze.