perl-Test-HTTP-Server-Simple - Test::More functions for HTTP::Server::Simple

Distribution: OpenMandriva Lx 3.0
Repository: OpenMandriva Contrib i586
Package name: perl-Test-HTTP-Server-Simple
Package version: 0.110.0
Package release: 4-omv2015.0
Package architecture: noarch
Package type: rpm
Installed size: 13.47 KB
Download size: 13.23 KB
Official Mirror:
This mixin class provides methods to test an the HTTP::Server::Simple manpage-based web server. Currently, it provides only one such method: 'started_ok'. started_ok [$text] '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. the Test::HTTP::Server::Simple manpage 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.)


  • perl(Test::HTTP::Server::Simple) == 0.110.0
  • perl-Test-HTTP-Server-Simple == 0.110.0-4:2015.0

    Install Howto

    1. Enable OpenMandriva Contrib repository on Install and Remove Software"
    2. Update packages list:
      # urpmi.update -a
    3. Install perl-Test-HTTP-Server-Simple rpm package:
      # urpmi perl-Test-HTTP-Server-Simple


    • /usr/lib/perl5/vendor_perl/5.20.1/Test/
    • /usr/lib/perl5/vendor_perl/5.20.1/Test/HTTP/
    • /usr/lib/perl5/vendor_perl/5.20.1/Test/HTTP/Server/
    • /usr/share/doc/perl-Test-HTTP-Server-Simple/Changes
    • /usr/share/doc/perl-Test-HTTP-Server-Simple/META.yml
    • /usr/share/doc/perl-Test-HTTP-Server-Simple/README
    • /usr/share/man/man3/Test::HTTP::Server::Simple.3pm.xz