Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[perl #39868] [CAGE] convert C<BEGIN { plan tests => NN; }> to C<use Parrot::Test tests => NN;>

0 views
Skip to first unread message

Jerry Gay

unread,
Jul 18, 2006, 5:47:18 PM7/18/06
to bugs-bi...@rt.perl.org
# New Ticket Created by Jerry Gay
# Please include the string: [perl #39868]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=39868 >


some test files were converted to use begin blocks at the bottom of
the test file. this does not work well in some special cases i
consider this style to be a failed experiment.

therefore, all references to C<BEGIN { plan tests => NN; }> must be
converted to C<use Parrot::Test tests => NN;>

~jerry

Will Coleda

unread,
Jul 18, 2006, 5:53:35 PM7/18/06
to perl6-i...@perl.org, bugs-bi...@netlabs.develooper.com
Note: there are some tests where the number of tests cannot be
determined until runtime (and therefore don't have "BEGIN" blocks
tied to them.)

These (like t/doc/pod.t) need to be preserved.

On Jul 18, 2006, at 5:47 PM, Jerry Gay (via RT) wrote:

> some test files were converted to use begin blocks at the bottom of
> the test file. this does not work well in some special cases i
> consider this style to be a failed experiment.
>
> therefore, all references to C<BEGIN { plan tests => NN; }> must be
> converted to C<use Parrot::Test tests => NN;>
>
> ~jerry
>

--
Will "Coke" Coleda
wi...@coleda.com


0 new messages