Package perl-Tie-Filehandle-Preempt-Stdin: Information

    Source package: perl-Tie-Filehandle-Preempt-Stdin
    Version: 0.02-alt1
    Build time:  Nov 19, 2018, 03:28 PM
    Category: Development/Perl
    Report package bug
    License: Artistic
    Summary: Preempt STDIN during testing
    Description: 
    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.

    List of rpms provided by this srpm:
    perl-Tie-Filehandle-Preempt-Stdin (noarch)



      1. perl-devel

    Last changed


    Sept. 19, 2011 Igor Vlasenko 0.02-alt1
    - automated CPAN update
    Nov. 22, 2010 Igor Vlasenko 0.01-alt3.1
    - repair after perl 5.12 upgrade using girar-nmu
    Dec. 17, 2008 Anton V. Boyarshinov 0.01-alt3
    - unmets fixed