Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37044696
en ru br
Репозитории ALT
S:0.02-alt1
5.1: 0.01-alt3
4.1: 0.01-alt1
4.0: 0.01-alt1
www.altlinux.org/Changes

Группа :: Разработка/Perl
Пакет: perl-Tie-Filehandle-Preempt-Stdin

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Текущая версия: 0.01-alt1
Время сборки: 8 февраля 2007, 14:46 ( 894.1 недели назад )
Размер архива: 14.84 Kb

Домашняя страница:   http://www.cpan.org

Лицензия: Artistic
О пакете: 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.

Текущий майнтейнер: Anton V. Boyarshiniv

Список всех майнтейнеров, принимавших участие
в данной и/или предыдущих сборках пакета:

Список rpm-пакетов, предоставляемый данным srpm-пакетом:

  • perl-Tie-Filehandle-Preempt-Stdin
ACL:
     
    дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
    текущий майнтейнер: Michael Shigorin