pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/p5-Test-Toolbox Import p5-Test-Toolbox-0.4 as de...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/92803364b7d4
branches:  trunk
changeset: 352807:92803364b7d4
user:      mef <mef%pkgsrc.org@localhost>
date:      Mon Sep 19 09:00:50 2016 +0000

description:
Import p5-Test-Toolbox-0.4 as devel/p5-Test-Toolbox.

Test::Toolbox provides (as you might guess) tools for automated
testing. Test::Toolbox is much like some other testing modules, such as
Test::More and Test::Simple. Test::Toolbox provides a different flavor of
tests which may or may not actually be to your preference.

The tools in Test::Toolbox have a standard format. Commands start with (the
command (of course), followed by the test name. Then there is usually the
value being tested, or values being compared, then other options. So, for
example, this command checks compares two values:

   rtcomp 'test name', $val, $other_val;

In some cases it's preferable to flip the logic of the test, so that, for
example, two values should not be the same. In that case, you can add the
should option:

   rtcomp 'test name', $val, $other_val, should=>0;

All test commands require a test name as the first param.

diffstat:

 devel/p5-Test-Toolbox/DESCR    |  19 +++++++++++++++++++
 devel/p5-Test-Toolbox/Makefile |  18 ++++++++++++++++++
 devel/p5-Test-Toolbox/distinfo |   6 ++++++
 3 files changed, 43 insertions(+), 0 deletions(-)

diffs (55 lines):

diff -r a98e869d84b1 -r 92803364b7d4 devel/p5-Test-Toolbox/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Test-Toolbox/DESCR       Mon Sep 19 09:00:50 2016 +0000
@@ -0,0 +1,19 @@
+Test::Toolbox provides (as you might guess) tools for automated
+testing. Test::Toolbox is much like some other testing modules, such as
+Test::More and Test::Simple. Test::Toolbox provides a different flavor of
+tests which may or may not actually be to your preference.
+
+The tools in Test::Toolbox have a standard format. Commands start with (the
+command (of course), followed by the test name. Then there is usually the
+value being tested, or values being compared, then other options. So, for
+example, this command checks compares two values:
+
+   rtcomp 'test name', $val, $other_val;
+
+In some cases it's preferable to flip the logic of the test, so that, for
+example, two values should not be the same. In that case, you can add the
+should option:
+
+   rtcomp 'test name', $val, $other_val, should=>0;
+
+All test commands require a test name as the first param.
diff -r a98e869d84b1 -r 92803364b7d4 devel/p5-Test-Toolbox/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Test-Toolbox/Makefile    Mon Sep 19 09:00:50 2016 +0000
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2016/09/19 09:00:50 mef Exp $
+
+DISTNAME=      Test-Toolbox-0.4
+PKGNAME=       p5-${DISTNAME}
+CATEGORIES=    devel perl5
+MASTER_SITES=  https://cpan.metacpan.org/authors/id/M/MI/MIKO/
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://cpan.metacpan.org/authors/id/M/MI/MIKO/
+COMMENT=       Test::Toolbox - tools for testing
+LICENSE=       ${PERL5_LICENSE}
+
+PERL5_MODULE_TYPE=     Module::Build
+PERL5_PACKLIST=                auto/Test/Toolbox/.packlist
+USE_LANGUAGES=         # none
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r a98e869d84b1 -r 92803364b7d4 devel/p5-Test-Toolbox/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Test-Toolbox/distinfo    Mon Sep 19 09:00:50 2016 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2016/09/19 09:00:50 mef Exp $
+
+SHA1 (Test-Toolbox-0.4.tar.gz) = ae63b1d7cfce105ea6e98f9a9eb601dee7ffd270
+RMD160 (Test-Toolbox-0.4.tar.gz) = 79baa1a10c0e85a0f1224b26069adec60dc6b7e1
+SHA512 (Test-Toolbox-0.4.tar.gz) = 99d711a7cce4ac3a4fd37f4b7fc91cf75c5d4978ff83cd084599ed6c1818d22b30a3210a14b03da4646b53cc939b224937da3bea1c49bb13324c5583ee44bf81
+Size (Test-Toolbox-0.4.tar.gz) = 17713 bytes



Home | Main Index | Thread Index | Old Index