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

qualify a todo item ?

0 views
Skip to first unread message

Jim Cromie

unread,
Jan 4, 2010, 1:33:28 PM1/4/10
to Perl 5 Porters
perltodo says:

Migrate t/ from custom TAP generation
Many tests below t/ still generate TAP by "hand", rather than using
library functions. As explained in "Writing a test" in perlhack, tests
in t/ are written in a particular way to test that more complex
constructions actually work before using them routinely. Hence they
don’t use "Test::More", but instead there is an intentionally simpler
library, t/test.pl. However, quite a few tests in t/ have not been
refactored to use it. Refactoring any of these tests, one at a time, is
a useful thing TODO.


IIRC, t/base and maybe t/comp and others are exceptions;
use of modules should be avoided here, since they rely on
more complex features than are being tested.

whats the full list ?

Rafael Garcia-Suarez

unread,
Jan 5, 2010, 3:57:43 AM1/5/10
to Jim Cromie, Perl 5 Porters
2010/1/4 Jim Cromie <jim.c...@gmail.com>:

I documented that :

--- a/pod/perltodo.pod
+++ b/pod/perltodo.pod
@@ -40,6 +40,9 @@ instead there is an intentionally simpler library,
F<t/test.pl>. However,
quite a few tests in F<t/> have not been refactored to use it. Refactoring


any of these tests, one at a time, is a useful thing TODO.

+The subdirectories F<base>, F<cmd> and F<comp>, that contain the most
+basic tests, should be excluded from this task.
+
=head2 Test that regen.pl was run

There are various generated files shipped with the perl distribution, for

0 new messages