Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/corion/test-http-localserver
spawn a local HTTP server for testing
https://github.com/corion/test-http-localserver
Last synced: about 1 month ago
JSON representation
spawn a local HTTP server for testing
- Host: GitHub
- URL: https://github.com/corion/test-http-localserver
- Owner: Corion
- License: artistic-2.0
- Created: 2017-05-08T16:28:40.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-03-03T18:45:10.000Z (8 months ago)
- Last Synced: 2024-06-18T23:11:32.992Z (5 months ago)
- Language: Perl
- Size: 129 KB
- Stars: 1
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README
- Changelog: Changes
- License: LICENSE
Awesome Lists containing this project
README
Test::HTTP::LocalServer - spawn a local HTTP server for testing
DESCRIPTION
This module implements a tiny web server suitable for running "live" tests
of HTTP clients against it. It also takes care of cleaning C<%ENV> from settings
that influence the use of a local proxy etc.Use this web server if you write an HTTP client and want to exercise its
behaviour in your test suite without talking to the outside world.INSTALLATION
This is a Perl module distribution. It should be installed with whichever
tool you use to manage your installation of Perl, e.g. any ofcpanm .
cpan .
cpanp -i .Consult https://www.cpan.org/modules/INSTALL.html for further instruction.
Should you wish to install this module manually, the procedure isperl Makefile.PL
make
make test
make installSEE ALSO
L,L,L
AUTHOR
Max Maischein, [email protected]
Please contact me if you find bugs or otherwise improve the module. More tests
are also very welcome !COPYRIGHT AND LICENSE
This library is free software; you can redistribute it and/or modify it under
the same terms as Perl itself.Copyright (C) 2003-2024 Max Maischein