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

Группа :: Разработка/Perl
Пакет: perl-Test-HTTP-Server-Simple

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

Текущая версия: 0.11-alt1
Время сборки: 13 июля 2010, 20:49 ( 715.3 недели назад )
Размер архива: 10.89 Kb

Домашняя страница:   http://search.cpan.org/dist/Test-HTTP-Server-Si…

Лицензия: Artistic
О пакете: Test::More functions for HTTP::Server::Simple
Описание:

This mixin class provides methods to test an HTTP::Server::Simple-based web
server.  Currently, it provides only one such method: "started_ok".

"started_ok" takes
an optional test description.  The server needs to have been configured (specifically,
its port needs to have been set), but it should not have been run or backgrounded.
"started_ok" calls "background" on the server, which forks it to run in the background.
Test::HTTP::Server::Simple takes care of killing the server when your test script dies,
even if you kill your test script with an interrupt.  "started_ok" returns the URL
"http://localhost:$port"; which you can use to connect to your server.

Note that if the child process dies, or never gets around to listening for connections, this
just hangs.  (This may be fixed in a future version.)

Also, it probably won't work if you use a custom Net::Server in your server.

Текущий майнтейнер: Vitaly Lipatov

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

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

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