Add devel/p5-Test-Base 0.44, a data driven testing framework in Perl.

This commit is contained in:
Anton Berezin 2005-12-27 11:27:47 +00:00
parent ce08089229
commit a1d851e348
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=152186
5 changed files with 57 additions and 0 deletions

View file

@ -1159,6 +1159,7 @@
SUBDIR += p5-Term-Screen
SUBDIR += p5-Term-Shell
SUBDIR += p5-Term-Size
SUBDIR += p5-Test-Base
SUBDIR += p5-Test-Class
SUBDIR += p5-Test-ClassAPI
SUBDIR += p5-Test-Cmd

View file

@ -0,0 +1,35 @@
# New ports collection makefile for: devel/p5-Test-Base
# Date created: 27 Dec 2005
# Whom: Anton Berezin <tobez@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= Test-Base
PORTVERSION= 0.44
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Test
PKGNAMEPREFIX= p5-
MAINTAINER= tobez@FreeBSD.org
COMMENT= Test::Base - A Data Driven Testing Framework
BUILD_DEPENDS= \
p5-Spiffy>=0.24:${PORTSDIR}/devel/p5-Spiffy \
p5-MIME-Base64>0:${PORTSDIR}/converters/p5-MIME-Base64 \
p5-Test-Simple>=0.54:${PORTSDIR}/devel/p5-Test-Simple
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
MAN3= Test::Base.3 \
Test::Base::Filter.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500600
IGNORE= requires perl 5.6.0 or later. Install lang/perl5.8 and try again
.endif
.include <bsd.port.post.mk>

View file

@ -0,0 +1,3 @@
MD5 (Test-Base-0.44.tar.gz) = 36a3c04b89daafbb498d2075b287aee7
SHA256 (Test-Base-0.44.tar.gz) = ab72093dc95caa7cfcb2b5e686f10d5379fcba3aa449267fc9a52cca2253188d
SIZE (Test-Base-0.44.tar.gz) = 40189

View file

@ -0,0 +1,11 @@
Testing is usually the ugly part of Perl module authoring. Perl gives
you a standard way to run tests with Test::Harness, and basic testing
primitives with Test::More. After that you are pretty much on your own
to develop a testing framework and philosophy. Test::More encourages you
to make your own framework by subclassing Test::Builder, but that is not
trivial.
Test::Base gives you a way to write your own test framework base class
that *is* trivial.
WWW: http://search.cpan.org/dist/Test-Base/

View file

@ -0,0 +1,7 @@
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Test/Base/.packlist
%%SITE_PERL%%/Test/Base.pm
%%SITE_PERL%%/Test/Base/Filter.pm
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Test/Base 2>/dev/null || true
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Test 2>/dev/null || true
@unexec rmdir %D/%%SITE_PERL%%/Test/Base 2>/dev/null || true
@unexec rmdir %D/%%SITE_PERL%%/Test 2>/dev/null || true