import p5-Test-Group

Test::Group allows for grouping together related tests in a standard
Test::More-style script.  It provides a bunch of maintainability and
scalability advantages to large test suites.

feedback & ok merdely@
This commit is contained in:
simon 2007-09-16 09:24:46 +00:00
parent 308260684c
commit a8d100e201
4 changed files with 46 additions and 0 deletions

View File

@ -0,0 +1,24 @@
# $OpenBSD: Makefile,v 1.1.1.1 2007/09/16 09:24:46 simon Exp $
COMMENT= group together related tests in a test suite
MODULES= cpan
DISTNAME= Test-Group-0.07
CATEGORIES= devel
MAINTAINER= Simon Bertrang <simon@openbsd.org>
# Perl
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
CONFIGURE_STYLE=modbuild
RUN_DEPENDS= ::devel/p5-File-Slurp
BUILD_DEPENDS= ${RUN_DEPENDS}
MAKE_ENV+= TEST_POD=1
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (Test-Group-0.07.tar.gz) = 6BvhdtrmrDZmu68rqtLXyg==
RMD160 (Test-Group-0.07.tar.gz) = O1x0Dpz+8jN8XvzPjOrDll5rf2M=
SHA1 (Test-Group-0.07.tar.gz) = gDpPYeKr26y6sLHu87616Lz0EgA=
SHA256 (Test-Group-0.07.tar.gz) = aNXEkOjSg6BE9A+/sZGcEXEt6Tk9Y7wUJ1vW6hsVuok=
SIZE (Test-Group-0.07.tar.gz) = 34043

View File

@ -0,0 +1,13 @@
Test::Group allows for grouping together related tests in a standard
Test::More-style script. It provides a bunch of maintainability and
scalability advantages to large test suites:
* related tests can be grouped and given a name. The intent of the
test author is therefore made explicit with much less effort than
would be needed to name all the individual tests;
* the test output is much shorter and more readable: only failed
subtests show a diagnostic, while test groups with no problems inside
produce a single friendly ok line;
* no more tedious test counting: running an arbitrarily large or
variable number of tests (e.g. in loops) is now hassle-free and
doesn't clutter the test output.

View File

@ -0,0 +1,4 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2007/09/16 09:24:46 simon Exp $
${P5SITE}/Test/
${P5SITE}/Test/Group.pm
@man man/man3p/Test::Group.3p