diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2011-09-10 06:40:55 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2011-09-10 06:40:55 +0000 |
commit | 91f015d0af02dc8f2e07e95ee87a4aba079ed5f8 (patch) | |
tree | c35ac05277990011a0bc28bfc88fd3fbb181d551 | |
parent | - Add p5-Test-Trap 0.2.1 (diff) |
- Add p5-Test-Spec 0.39
Test::Spec is a declarative specification-style testing system for
behavior-driven development (BDD) in Perl. The tests (a.k.a. examples) are named
with strings instead of subroutine names, so your fingers will suffer less
fatigue from underscore-itis, with the side benefit that the test reports are
more legible.
This module is inspired by and borrows heavily from RSpec
(http://rspec.info/documentation/), a BDD tool for the Ruby programming
language.
WWW: http://search.cpan.org/dist/Test-Spec/
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/p5-Test-Spec/Makefile | 37 | ||||
-rw-r--r-- | devel/p5-Test-Spec/distinfo | 2 | ||||
-rw-r--r-- | devel/p5-Test-Spec/pkg-descr | 11 | ||||
-rw-r--r-- | devel/p5-Test-Spec/pkg-plist | 9 |
5 files changed, 60 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 6582ee76fea2..d91d315a3bbd 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -2417,6 +2417,7 @@ SUBDIR += p5-Test-SharedFork SUBDIR += p5-Test-Simple SUBDIR += p5-Test-Singleton + SUBDIR += p5-Test-Spec SUBDIR += p5-Test-Spelling SUBDIR += p5-Test-Strict SUBDIR += p5-Test-SubCalls diff --git a/devel/p5-Test-Spec/Makefile b/devel/p5-Test-Spec/Makefile new file mode 100644 index 000000000000..6cfaad3e834e --- /dev/null +++ b/devel/p5-Test-Spec/Makefile @@ -0,0 +1,37 @@ +# New ports collection makefile for: p5-Test-Spec +# Date created: 2011-09-10 +# Whom: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= Test-Spec +PORTVERSION= 0.39 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Write tests in a declarative specification style + +BUILD_DEPENDS= p5-Package-Stash>=0.23:${PORTSDIR}/devel/p5-Package-Stash \ + p5-Test-Deep>=0.103:${PORTSDIR}/devel/p5-Test-Deep \ + p5-Test-Trap>=0:${PORTSDIR}/devel/p5-Test-Trap \ + p5-Tie-IxHash>=0:${PORTSDIR}/devel/p5-Tie-IxHash +RUN_DEPENDS= p5-Package-Stash>=0.23:${PORTSDIR}/devel/p5-Package-Stash \ + p5-Test-Deep>=0.103:${PORTSDIR}/devel/p5-Test-Deep \ + p5-Test-Trap>=0:${PORTSDIR}/devel/p5-Test-Trap \ + p5-Tie-IxHash>=0:${PORTSDIR}/devel/p5-Tie-IxHash + +PERL_CONFIGURE= yes + +MAN3= Test::Spec.3 \ + Test::Spec::Mocks.3 + +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 501001 +TEST_DEPENDS+= Test-Harness>=0:${PORTSDIR}/devel/p5-Test-Harness +.endif + +.include <bsd.port.post.mk> diff --git a/devel/p5-Test-Spec/distinfo b/devel/p5-Test-Spec/distinfo new file mode 100644 index 000000000000..c2b66156b4c3 --- /dev/null +++ b/devel/p5-Test-Spec/distinfo @@ -0,0 +1,2 @@ +SHA256 (Test-Spec-0.39.tar.gz) = 501a2a528732a0990ff4937d97c006c345a7031c66cfb36c2839aeb30aac2f6c +SIZE (Test-Spec-0.39.tar.gz) = 30560 diff --git a/devel/p5-Test-Spec/pkg-descr b/devel/p5-Test-Spec/pkg-descr new file mode 100644 index 000000000000..e9f80f3f5f8b --- /dev/null +++ b/devel/p5-Test-Spec/pkg-descr @@ -0,0 +1,11 @@ +Test::Spec is a declarative specification-style testing system for +behavior-driven development (BDD) in Perl. The tests (a.k.a. examples) are named +with strings instead of subroutine names, so your fingers will suffer less +fatigue from underscore-itis, with the side benefit that the test reports are +more legible. + +This module is inspired by and borrows heavily from RSpec +(http://rspec.info/documentation/), a BDD tool for the Ruby programming +language. + +WWW: http://search.cpan.org/dist/Test-Spec/ diff --git a/devel/p5-Test-Spec/pkg-plist b/devel/p5-Test-Spec/pkg-plist new file mode 100644 index 000000000000..d273a87a7e18 --- /dev/null +++ b/devel/p5-Test-Spec/pkg-plist @@ -0,0 +1,9 @@ +%%SITE_PERL%%/Test/Spec.pm +%%SITE_PERL%%/Test/Spec/Context.pm +%%SITE_PERL%%/Test/Spec/Mocks.pm +%%SITE_PERL%%/Test/Spec/SharedHash.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Test/Spec/.packlist +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Test/Spec +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Test +@dirrm %%SITE_PERL%%/Test/Spec +@dirrmtry %%SITE_PERL%%/Test |