James Keenan
2008-09-10 01:28:06 UTC
# New Ticket Created by James Keenan
# Please include the string: [perl #58740]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=58740 >
Configuration and Configuration Steps Tests: Cleanup.
grep t/configure/ and t/steps for .t files that contain 'use File::Temp'
Among these files, focus on those which for testing purposes *create
subdirectories* within the tempdir created by File::Temp::tempdir
( CLEANUP => 1).
Sometimes those subdirs are created very fastidiously with use of
File::Spec->catdir, ->catfile and File::Path::mkpath. Sometimes
not. Either way, there tends to be a lot of screen clutter solely
for the purpose of setting up the required testing environment.
Assignment: See if it's possible to write subroutine(s) that set up
the needed subdir testing environment cleanly and correctly. Test it
out on a few of the identified test files -- on both *nix and Windows
(to make sure I got the paths right). Propose patch.
Thank you very much.
kid51
# Please include the string: [perl #58740]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=58740 >
Configuration and Configuration Steps Tests: Cleanup.
grep t/configure/ and t/steps for .t files that contain 'use File::Temp'
Among these files, focus on those which for testing purposes *create
subdirectories* within the tempdir created by File::Temp::tempdir
( CLEANUP => 1).
Sometimes those subdirs are created very fastidiously with use of
File::Spec->catdir, ->catfile and File::Path::mkpath. Sometimes
not. Either way, there tends to be a lot of screen clutter solely
for the purpose of setting up the required testing environment.
Assignment: See if it's possible to write subroutine(s) that set up
the needed subdir testing environment cleanly and correctly. Test it
out on a few of the identified test files -- on both *nix and Windows
(to make sure I got the paths right). Propose patch.
Thank you very much.
kid51