From: Nicholas Clark Date: Tue, 4 Dec 2007 12:47:44 +0000 (+0000) Subject: Refactor test code to remove duplication is a TODO. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=5a176cbce82d0ae2fd8e94d132259dfb733ef939;p=p5sagit%2Fp5-mst-13.2.git Refactor test code to remove duplication is a TODO. p4raw-id: //depot/perl@32565 --- diff --git a/pod/perltodo.pod b/pod/perltodo.pod index d308478..c4559ae 100644 --- a/pod/perltodo.pod +++ b/pod/perltodo.pod @@ -22,6 +22,13 @@ programming languages offer you 1 line of immortality? =head1 Tasks that only need Perl knowledge +=head2 Remove duplication of test setup. + +Schwern notes, that there's duplication of code - lots and lots of tests have +some variation on the big block of C<$Is_Foo> checks. We can safely put this +into a file, change it to build an C<%Is> hash and require it. Maybe just put +it into F. Throw in the handy tainting subroutines. + =head2 merge common code in installperl and installman There are some common subroutines and a common C block in F