diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2003-02-05 09:45:20 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2003-02-05 09:45:20 +0000 |
commit | 2788b970ec932cb316a419395e698515a5e8efd2 (patch) | |
tree | 9b5cffc10511faeda911fc732abf979228c9e4d0 /devel | |
parent | Update to 0.24 (based on SQLite 2.7.6). (diff) |
New port: Test::Class - Easily create test classes in an xUnit style
Test::Class provides a simple way of creating classes and
objects to test your code in an xUnit style.
Built using Test::Builder it is designing to work with other
Test::Builder based modules (Test::More, Test::Differences,
Test::Exception, etc.)
Note: This module will make more sense if you are already
familiar with the "standard" mechanisms for testing perl
code. Those unfamiliar with Test::Harness, Test::Simple,
Test::More and friends should go take a look at them now.
PR: ports/47589
Submitted by: Erwin Lansing <erwin@lansing.dk>
Notes
Notes:
svn path=/head/; revision=74817
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/p5-Test-Class/Makefile | 40 | ||||
-rw-r--r-- | devel/p5-Test-Class/distinfo | 1 | ||||
-rw-r--r-- | devel/p5-Test-Class/pkg-comment | 1 | ||||
-rw-r--r-- | devel/p5-Test-Class/pkg-descr | 15 | ||||
-rw-r--r-- | devel/p5-Test-Class/pkg-plist | 4 |
6 files changed, 62 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 6f47ce40297b..e8913166149f 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -631,6 +631,7 @@ SUBDIR += p5-Term-Screen SUBDIR += p5-Term-Size SUBDIR += p5-Test-Builder-Tester + SUBDIR += p5-Test-Class SUBDIR += p5-Test-Differences SUBDIR += p5-Test-Exception SUBDIR += p5-Test-Harness diff --git a/devel/p5-Test-Class/Makefile b/devel/p5-Test-Class/Makefile new file mode 100644 index 000000000000..d09268656d69 --- /dev/null +++ b/devel/p5-Test-Class/Makefile @@ -0,0 +1,40 @@ +# New ports collection makefile for: p5-Test-Class +# Date created: January 27th 2003 +# Whom: Erwin Lansing <erwin@lansing.dk> +# +# $FreeBSD$ +# + +PORTNAME= Test-Class +PORTVERSION= 0.03 +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Test +PKGNAMEPREFIX= p5- + +MAINTAINER= erwin@lansing.dk + +BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple \ + ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable \ + ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Class/ISA.pm:${PORTSDIR}/devel/p5-Class-ISA \ + ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Attribute/Handlers.pm:${PORTSDIR}/devel/p5-Attribute-Handlers \ + ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Test/Builder/Tester.pm:${PORTSDIR}/devel/p5-Test-Builder-Tester \ + ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Test/Exception.pm:${PORTSDIR}/devel/p5-Test-Exception \ + ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Test/Differences.pm:${PORTSDIR}/devel/p5-Test-Differences +RUN_DEPENDS= ${BUILD_DEPENDS} + +PERL_CONFIGURE= yes + +MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} +MAN3= Test::Class.3 + +.include <bsd.port.pre.mk> + +## +## this port requires PERL 5.6.x or later +## +.if ${PERL_LEVEL} < 500600 +BROKEN= Port requires perl 5.6.x or later. Install lang/perl5 then try again +.endif + +.include <bsd.port.post.mk> diff --git a/devel/p5-Test-Class/distinfo b/devel/p5-Test-Class/distinfo new file mode 100644 index 000000000000..6176746b1e34 --- /dev/null +++ b/devel/p5-Test-Class/distinfo @@ -0,0 +1 @@ +MD5 (Test-Class-0.03.tar.gz) = 5ed6082110c5600d1807654ff8120775 diff --git a/devel/p5-Test-Class/pkg-comment b/devel/p5-Test-Class/pkg-comment new file mode 100644 index 000000000000..6d0bab58b67c --- /dev/null +++ b/devel/p5-Test-Class/pkg-comment @@ -0,0 +1 @@ +Test::Class - Easily create test classes in an xUnit style diff --git a/devel/p5-Test-Class/pkg-descr b/devel/p5-Test-Class/pkg-descr new file mode 100644 index 000000000000..4d4d281acf2c --- /dev/null +++ b/devel/p5-Test-Class/pkg-descr @@ -0,0 +1,15 @@ +Test::Class provides a simple way of creating classes and +objects to test your code in an xUnit style. + +Built using Test::Builder it is designing to work with +other Test::Builder based modules (Test::More, +Test::Differences, Test::Exception, etc.) + +Note: This module will make more sense if you are already +familiar with the "standard" mechanisms for testing perl code. +Those unfamiliar with Test::Harness, Test::Simple, Test::More +and friends should go take a look at them now. + +Note: This is an early release. Things may change. Be warned. + +WWW: http://search.cpan.org/dist/Test-Class/ diff --git a/devel/p5-Test-Class/pkg-plist b/devel/p5-Test-Class/pkg-plist new file mode 100644 index 000000000000..4e8bc3955165 --- /dev/null +++ b/devel/p5-Test-Class/pkg-plist @@ -0,0 +1,4 @@ +lib/perl5/site_perl/%%PERL_VER%%/mach/auto/Test/Class/.packlist +lib/perl5/site_perl/%%PERL_VER%%/Test/Class.pm +@dirrm lib/perl5/site_perl/%%PERL_VER%%/mach/auto/Test/Class +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Test 2>/dev/null || true |