pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/p5-Test-Toolbox



Module Name:    pkgsrc
Committed By:   mef
Date:           Mon Sep 19 09:00:50 UTC 2016

Added Files:
        pkgsrc/devel/p5-Test-Toolbox: DESCR Makefile distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/p5-Test-Toolbox/DESCR \
    pkgsrc/devel/p5-Test-Toolbox/Makefile \
    pkgsrc/devel/p5-Test-Toolbox/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/devel/p5-Test-Toolbox/DESCR
diff -u /dev/null pkgsrc/devel/p5-Test-Toolbox/DESCR:1.1
--- /dev/null   Mon Sep 19 09:00:50 2016
+++ pkgsrc/devel/p5-Test-Toolbox/DESCR  Mon Sep 19 09:00:50 2016
@@ -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.
Index: pkgsrc/devel/p5-Test-Toolbox/Makefile
diff -u /dev/null pkgsrc/devel/p5-Test-Toolbox/Makefile:1.1
--- /dev/null   Mon Sep 19 09:00:50 2016
+++ pkgsrc/devel/p5-Test-Toolbox/Makefile       Mon Sep 19 09:00:50 2016
@@ -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"
Index: pkgsrc/devel/p5-Test-Toolbox/distinfo
diff -u /dev/null pkgsrc/devel/p5-Test-Toolbox/distinfo:1.1
--- /dev/null   Mon Sep 19 09:00:50 2016
+++ pkgsrc/devel/p5-Test-Toolbox/distinfo       Mon Sep 19 09:00:50 2016
@@ -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