Grupos de Google ya no admite nuevas publicaciones ni suscripciones de Usenet. El contenido anterior sigue siendo visible.

[perl #42332] [TODO]: Eliminate t/tools/ops2pmutils/testlib/Capture.pm

Visto 5 veces
Saltar al primer mensaje no leído

James Keenan

no leída,
6 abr 2007, 23:22:596/4/07
a bugs-bi...@rt.perl.org
# New Ticket Created by James Keenan
# Please include the string: [perl #42332]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=42332 >


When I was developing tests for the functionality refactored out of
ops2pm.pl a couple of months ago, I needed a package to hold
subroutines used in >= 1 of my test scripts to capture data printed
to STDOUT or STDERR for later analysis. I stuck a small package,
based on CPAN distribution IO::Capture, in a testlib/ directory
underneath the directory holding the tests.

By the time I got to work on ops2c.pl, I realized that those
subroutines would be better placed under lib/Parrot so that they're
more clearly available for all Perl 5 components of Parrot. I
created Parrot::IO::Capture::Mini and used it in t/tools/ops2cutils/*.t.

Task: Switch the tests in t/tools/ops2pmutils/ over to using
Parrot::IO::Capture::Mini; eliminate testlib/Capture.pm.

kid51

James Keenan via RT

no leída,
8 abr 2007, 10:26:538/4/07
a perl6-i...@perl.org
t/tools/ops2pmutils/testlib/Capture.pm was deleted in r18040. All tests using it were modified
to use Parrot::IO::Capture::Mini. 'make buildtools_tests' run; all test passed. Closing ticket.
0 mensajes nuevos