pkgsrc-Changes archive

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

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



Module Name:    pkgsrc
Committed By:   wen
Date:           Tue Apr 30 03:16:40 UTC 2024

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

Log Message:
Import Test-ExpectAndCheck-0.06 as devel/p5-Test-ExpectAndCheck

This package creates objects that assist in writing unit tests with mocked
object instances. Each mock instance will expect to receive a given list of
method calls. Each method call is checked that it received the right arguments,
and will return a prescribed result. At the end of each test, each object is
checked to ensure all the expected methods were called.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/p5-Test-ExpectAndCheck/DESCR \
    pkgsrc/devel/p5-Test-ExpectAndCheck/Makefile \
    pkgsrc/devel/p5-Test-ExpectAndCheck/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-ExpectAndCheck/DESCR
diff -u /dev/null pkgsrc/devel/p5-Test-ExpectAndCheck/DESCR:1.1
--- /dev/null   Tue Apr 30 03:16:40 2024
+++ pkgsrc/devel/p5-Test-ExpectAndCheck/DESCR   Tue Apr 30 03:16:40 2024
@@ -0,0 +1,5 @@
+This package creates objects that assist in writing unit tests with mocked
+object instances. Each mock instance will expect to receive a given list of
+method calls. Each method call is checked that it received the right arguments,
+and will return a prescribed result. At the end of each test, each object is
+checked to ensure all the expected methods were called.
Index: pkgsrc/devel/p5-Test-ExpectAndCheck/Makefile
diff -u /dev/null pkgsrc/devel/p5-Test-ExpectAndCheck/Makefile:1.1
--- /dev/null   Tue Apr 30 03:16:40 2024
+++ pkgsrc/devel/p5-Test-ExpectAndCheck/Makefile        Tue Apr 30 03:16:40 2024
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2024/04/30 03:16:40 wen Exp $
+
+DISTNAME=      Test-ExpectAndCheck-0.06
+PKGNAME=       p5-${DISTNAME}
+CATEGORIES=    devel perl5
+MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=Test/}
+
+MAINTAINER=    wen%NetBSD.org@localhost
+HOMEPAGE=      https://metacpan.org/release/Test-ExpectAndCheck
+COMMENT=       Expect/check-style unit testing with object methods
+LICENSE=       ${PERL5_LICENSE}
+
+USE_LANGUAGES= # empty
+PERL5_PACKLIST=        auto/Test/ExpectAndCheck/.packlist
+
+PERL5_MODULE_TYPE=     Module::Build
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/p5-Test-ExpectAndCheck/distinfo
diff -u /dev/null pkgsrc/devel/p5-Test-ExpectAndCheck/distinfo:1.1
--- /dev/null   Tue Apr 30 03:16:40 2024
+++ pkgsrc/devel/p5-Test-ExpectAndCheck/distinfo        Tue Apr 30 03:16:40 2024
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2024/04/30 03:16:40 wen Exp $
+
+BLAKE2s (Test-ExpectAndCheck-0.06.tar.gz) = 9055599779f27343dffcf7177b1421f4a758c3c16dd6e22f75b1535a5b24d66d
+SHA512 (Test-ExpectAndCheck-0.06.tar.gz) = ec03a04ef5c9f81ba0ec9f874b1ac7b80cb925a46c759a64fab748555fea4967ddaa7a3638c605da924b4e9fb35c5f9eec6df8a5e71e8ef282dde5115baecf2b
+Size (Test-ExpectAndCheck-0.06.tar.gz) = 20056 bytes



Home | Main Index | Thread Index | Old Index