- Add p5-Plack-Test-ExternalServer 0.01

Plack::Test::ExternalServer allows your to run your Plack::Test tests against an
external server instead of just against a local application through either
mocked HTTP or a locally spawned server.

See Plack::Test on how to write tests that can use this module.

WWW: http://search.cpan.org/dist/Plack-Test-ExternalServer/
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2011-08-27 10:50:25 +00:00
parent ffd7ff43ec
commit 9a06b3a1c2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=280572
5 changed files with 54 additions and 0 deletions

View file

@ -1186,6 +1186,7 @@
SUBDIR += p5-Plack-Server-Coro
SUBDIR += p5-Plack-Server-POE
SUBDIR += p5-Plack-Server-ReverseHTTP
SUBDIR += p5-Plack-Test-ExternalServer
SUBDIR += p5-Pod-Site
SUBDIR += p5-PodToHTML
SUBDIR += p5-Protocol-WebSocket

View file

@ -0,0 +1,37 @@
# New ports collection makefile for: p5-Plack-Test-ExternalServer
# Date created: 2011-08-27
# Whom: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= Plack-Test-ExternalServer
PORTVERSION= 0.01
CATEGORIES= www perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Run HTTP tests on external live servers
BUILD_DEPENDS= p5-HTTP-Message>=0:${PORTSDIR}/www/p5-HTTP-Message \
p5-Plack>=0:${PORTSDIR}/www/p5-Plack \
p5-URI>=0:${PORTSDIR}/net/p5-URI \
p5-libwww>=0:${PORTSDIR}/www/p5-libwww
RUN_DEPENDS= p5-HTTP-Message>=0:${PORTSDIR}/www/p5-HTTP-Message \
p5-Plack>=0:${PORTSDIR}/www/p5-Plack \
p5-URI>=0:${PORTSDIR}/net/p5-URI \
p5-libwww>=0:${PORTSDIR}/www/p5-libwww
TEST_DEPENDS= p5-Test-TCP>=0:${PORTSDIR}/devel/p5-Test-TCP
PERL_CONFIGURE= yes
MAN3= Plack::Test::ExternalServer.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 501001
TEST_DEPENDS+= p5-Test-Simple>=0.89:${PORTSDIR}/devel/p5-Test-Simple
.endif
.include <bsd.port.post.mk>

View file

@ -0,0 +1,2 @@
SHA256 (Plack-Test-ExternalServer-0.01.tar.gz) = f0bc008b516ced3b125508cde5a3c711f55f05a3b228b6ef9c6bef97c70d6fb5
SIZE (Plack-Test-ExternalServer-0.01.tar.gz) = 9198

View file

@ -0,0 +1,7 @@
Plack::Test::ExternalServer allows your to run your Plack::Test tests against an
external server instead of just against a local application through either
mocked HTTP or a locally spawned server.
See Plack::Test on how to write tests that can use this module.
WWW: http://search.cpan.org/dist/Plack-Test-ExternalServer/

View file

@ -0,0 +1,7 @@
%%SITE_PERL%%/Plack/Test/ExternalServer.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Plack/Test/ExternalServer/.packlist
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Plack/Test/ExternalServer
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Plack/Test
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Plack
@dirrmtry %%SITE_PERL%%/Plack/Test
@dirrmtry %%SITE_PERL%%/Plack