diff --git a/devel/p5-Test-Group/Makefile b/devel/p5-Test-Group/Makefile new file mode 100644 index 00000000000..f20120e9b05 --- /dev/null +++ b/devel/p5-Test-Group/Makefile @@ -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 + +# 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 diff --git a/devel/p5-Test-Group/distinfo b/devel/p5-Test-Group/distinfo new file mode 100644 index 00000000000..1dce45fa9b2 --- /dev/null +++ b/devel/p5-Test-Group/distinfo @@ -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 diff --git a/devel/p5-Test-Group/pkg/DESCR b/devel/p5-Test-Group/pkg/DESCR new file mode 100644 index 00000000000..4ef36346c20 --- /dev/null +++ b/devel/p5-Test-Group/pkg/DESCR @@ -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. diff --git a/devel/p5-Test-Group/pkg/PLIST b/devel/p5-Test-Group/pkg/PLIST new file mode 100644 index 00000000000..4cd802b49b7 --- /dev/null +++ b/devel/p5-Test-Group/pkg/PLIST @@ -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