Group :: Desenvolvimento/Perl
RPM: perl-Test-HTTP-Server-Simple
Principal Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
A versão atual: 0.11-alt1
Data da compilação: 13 julho 2010, 20:49 ( 719.8 weeks ago )
Tamanho:: 10.89 Kb
Home page: http://search.cpan.org/dist/Test-HTTP-Server-Si…
Licença: Artistic
Sumário: Test::More functions for HTTP::Server::Simple
Descrição:
Lista dos contribuidores Lista dos rpms provida por esta srpm:
ACL:
Data da compilação: 13 julho 2010, 20:49 ( 719.8 weeks ago )
Tamanho:: 10.89 Kb
Home page: http://search.cpan.org/dist/Test-HTTP-Server-Si…
Licença: Artistic
Sumário: Test::More functions for HTTP::Server::Simple
Descrição:
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.
Mantenedor currente: Vitaly Lipatov 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.
Lista dos contribuidores Lista dos rpms provida por esta srpm:
- perl-Test-HTTP-Server-Simple