Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: perl-Tie-Filehandle-Preempt-Stdin | Distribution: Mageia |
Version: 0.20.0 | Vendor: Mageia.Org |
Release: 5.mga9 | Build date: Mon Mar 21 03:19:15 2022 |
Group: Development/Perl | Build host: localhost |
Size: 28578 | Source RPM: perl-Tie-Filehandle-Preempt-Stdin-0.20.0-5.mga9.src.rpm |
Packager: umeabot <umeabot> | |
Url: https://metacpan.org/release/Tie-Filehandle-Preempt-Stdin | |
Summary: Preempt STDIN during testing |
Suppose a program requires manual input from the keyboard operator. How do we test that we have properly handled operator input? More specifically, how do we incorporate testing for user input in files built on Perl's standard testing apparatus ('Test::Simple', 'Test::More', etc.)? Tie::Filehandle::Preempt::Stdin offers one way to do it -- a relatively simple and unsophisticated todo it. The most difficult part is analyzing the program to be tested so that you recognize all the points at which input is needed via STDIN. This in turn requires an understanding of all the different branches your program flow can take in response to standard input. Once you know that, you construct a list of dummy data that will be fed to each test at the points the program, when put into production, would normally prompt for operator input. This list of dummy data 'pre-empts' standard input via a tie of filehandle STDIN; hence, the module's name.
GPLv1+ or Artistic
* Mon Mar 21 2022 umeabot <umeabot> 0.20.0-5.mga9 + Revision: 1810557 - Mageia 9 Mass Rebuild
/usr/share/doc/perl-Tie-Filehandle-Preempt-Stdin /usr/share/doc/perl-Tie-Filehandle-Preempt-Stdin/Changes /usr/share/doc/perl-Tie-Filehandle-Preempt-Stdin/LICENSE /usr/share/doc/perl-Tie-Filehandle-Preempt-Stdin/META.yml /usr/share/doc/perl-Tie-Filehandle-Preempt-Stdin/README /usr/share/man/man3/Tie::Filehandle::Preempt::Stdin.3pm.xz /usr/share/perl5/vendor_perl/Tie /usr/share/perl5/vendor_perl/Tie/Filehandle /usr/share/perl5/vendor_perl/Tie/Filehandle/Preempt /usr/share/perl5/vendor_perl/Tie/Filehandle/Preempt/Stdin.pm
Generated by rpm2html 1.8.1
Fabrice Bellet, Wed Jan 22 09:05:03 2025