c8b6d04b5c
Easy to use and very lightweight module for mocking out sub calls. Very useful for testing areas of your own modules where getting coverage may be difficult due to nothing to test against, and/or to reduce test run time by eliminating the need to call subs that you really don't want or need to test. WWW: https://metacpan.org/dist/Mock-Sub
21 lines
413 B
Makefile
21 lines
413 B
Makefile
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
|
|
|
|
PORTNAME= Mock-Sub
|
|
PORTVERSION= 1.09
|
|
CATEGORIES= devel perl5
|
|
MASTER_SITES= CPAN
|
|
MASTER_SITE_SUBDIR= CPAN:STEVEB
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Mock package, object and standard subroutines, with unit testing in mind
|
|
|
|
LICENSE= ART10 GPLv1+
|
|
LICENSE_COMB= dual
|
|
|
|
USES= perl5
|
|
USE_PERL5= configure
|
|
|
|
NO_ARCH= yes
|
|
|
|
.include <bsd.port.mk>
|