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 ?
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