Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jan 2003 11:43:58 +0100 (CET)
From:      Erwin Lansing <erwin@lansing.dk>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/47589: New port: Test::Class - Easily create test classes in an xUnit style 
Message-ID:  <200301281043.h0SAhwBA031808@lemur.droso.net>

next in thread | raw e-mail | index | archive | help

>Number:         47589
>Category:       ports
>Synopsis:       New port: Test::Class - Easily create test classes in an xUnit style
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 28 02:50:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Erwin Lansing
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
pil.dk 
>Environment:
System: FreeBSD lemur.droso.net 4.7-STABLE FreeBSD 4.7-STABLE #13: Tue Jan 7 21:26:37 CET 2003 root@panda.droso.net:/usr/obj/usr/src/sys/PANDA i386


	
>Description:


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/

>How-To-Repeat:
	
>Fix:

Note: this port depends on PR 47588 and 47583

	

--- p5-Test-Class.sh begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	p5-Test-Class
#	p5-Test-Class/Makefile
#	p5-Test-Class/distinfo
#	p5-Test-Class/pkg-comment
#	p5-Test-Class/pkg-descr
#	p5-Test-Class/pkg-plist
#
echo c - p5-Test-Class
mkdir -p p5-Test-Class > /dev/null 2>&1
echo x - p5-Test-Class/Makefile
sed 's/^X//' >p5-Test-Class/Makefile << 'END-of-p5-Test-Class/Makefile'
X# New ports collection makefile for:    p5-Test-Class
X# Date created:				January 27th 2003
X# Whom:	      				Erwin Lansing <erwin@lansing.dk>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	Test-Class
XPORTVERSION=	0.03
XCATEGORIES=	devel perl5
XMASTER_SITES=	${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR=	Test
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	erwin@lansing.dk
X
XBUILD_DEPENDS=	${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple \
X		${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable \
X		${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Class/ISA.pm:${PORTSDIR}/devel/p5-Class-ISA \
X		${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Attribute/Handlers.pm:${PORTSDIR}/devel/p5-Attribute-Handlers \
X		${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Test/Builder/Tester.pm:${PORTSDIR}/devel/p5-Test-Builder-Tester \
X		${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Test/Exception.pm:${PORTSDIR}/devel/p5-Test-Exception \
X		${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Test/Differences.pm:${PORTSDIR}/devel/p5-Test-Differences
XRUN_DEPENDS=	${BUILD_DEPENDS}
X
XPERL_CONFIGURE=	yes
X
XMAN3PREFIX=	${PREFIX}/lib/perl5/${PERL_VERSION}
XMAN3=		Test::Class.3
X
X.include <bsd.port.pre.mk>
X
X##
X## this port requires PERL 5.6.x or later
X##
X.if ${PERL_LEVEL} < 500600
XBROKEN=		Port requires perl 5.6.x or later. Install lang/perl5 then try again
X.endif
X
X.include <bsd.port.post.mk>
END-of-p5-Test-Class/Makefile
echo x - p5-Test-Class/distinfo
sed 's/^X//' >p5-Test-Class/distinfo << 'END-of-p5-Test-Class/distinfo'
XMD5 (Test-Class-0.03.tar.gz) = 5ed6082110c5600d1807654ff8120775
END-of-p5-Test-Class/distinfo
echo x - p5-Test-Class/pkg-comment
sed 's/^X//' >p5-Test-Class/pkg-comment << 'END-of-p5-Test-Class/pkg-comment'
XTest::Class - Easily create test classes in an xUnit style
END-of-p5-Test-Class/pkg-comment
echo x - p5-Test-Class/pkg-descr
sed 's/^X//' >p5-Test-Class/pkg-descr << 'END-of-p5-Test-Class/pkg-descr'
XTest::Class provides a simple way of creating classes and
Xobjects to test your code in an xUnit style.
X
XBuilt using Test::Builder it is designing to work with
Xother Test::Builder based modules (Test::More,
XTest::Differences, Test::Exception, etc.)
X
XNote: This module will make more sense if you are already
Xfamiliar with the "standard" mechanisms for testing perl code.
XThose unfamiliar with Test::Harness, Test::Simple, Test::More
Xand friends should go take a look at them now.
X
XNote: This is an early release. Things may change. Be warned. 
X
XWWW: http://search.cpan.org/dist/Test-Class/
END-of-p5-Test-Class/pkg-descr
echo x - p5-Test-Class/pkg-plist
sed 's/^X//' >p5-Test-Class/pkg-plist << 'END-of-p5-Test-Class/pkg-plist'
Xlib/perl5/site_perl/%%PERL_VER%%/mach/auto/Test/Class/.packlist
Xlib/perl5/site_perl/%%PERL_VER%%/Test/Class.pm
X@dirrm lib/perl5/site_perl/%%PERL_VER%%/mach/auto/Test/Class
X@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Test 2>/dev/null || true
END-of-p5-Test-Class/pkg-plist
exit
--- p5-Test-Class.sh ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301281043.h0SAhwBA031808>