Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
devel/p5-Test2-Plugin-Cover: Add p5-Test2-Plugin-Cover 0.000022
Test2::Plugin::Cover will collect minimal file coverage info, and will do so with minimal performance impact. Every time a subroutine is called this tool will do its best to find the filename the subroutine was defined in, and add it to a list. Also, anytime you attempt to open a file with open() or sysopen() the file will be added to the list. This list will be attached to a test2 event just before the test exits. In most formaters the event will only show up as a comment on STDOUT # This test covered N source files. . However tools such as Test2::Harness::UI can make full use of the coverage information contained in the event. WWW: https://metacpan.org/release/Test2-Plugin-Cover
- Loading branch information
Showing
5 changed files
with
54 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org> | ||
|
||
PORTNAME= Test2-Plugin-Cover | ||
PORTVERSION= 0.000022 | ||
CATEGORIES= devel perl5 | ||
MASTER_SITES= CPAN | ||
MASTER_SITE_SUBDIR= CPAN:EXODIST | ||
PKGNAMEPREFIX= p5- | ||
|
||
MAINTAINER= sunpoet@FreeBSD.org | ||
COMMENT= Fast and Minimal file coverage info | ||
|
||
LICENSE= ART10 GPLv1+ | ||
LICENSE_COMB= dual | ||
LICENSE_FILE= ${WRKSRC}/LICENSE | ||
|
||
BUILD_DEPENDS= ${RUN_DEPENDS} | ||
RUN_DEPENDS= p5-Path-Tiny>=0.048:devel/p5-Path-Tiny | ||
TEST_DEPENDS= p5-Test2-Suite>=0.000130:devel/p5-Test2-Suite | ||
|
||
USES= perl5 | ||
USE_PERL5= configure | ||
|
||
.include <bsd.port.pre.mk> | ||
|
||
.if ${PERL_LEVEL} < 503200 | ||
RUN_DEPENDS+= p5-Test-Simple>=1.302166:devel/p5-Test-Simple | ||
.endif | ||
|
||
post-install: | ||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Test2/Plugin/Cover/Cover.so | ||
|
||
.include <bsd.port.post.mk> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
TIMESTAMP = 1619725307 | ||
SHA256 (Test2-Plugin-Cover-0.000022.tar.gz) = b7fd5f9b751242b1bf2a2bb4f2718ca344edf596e45b0b0b4b546dac155c8c02 | ||
SIZE (Test2-Plugin-Cover-0.000022.tar.gz) = 30031 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
Test2::Plugin::Cover will collect minimal file coverage info, and will do so | ||
with minimal performance impact. | ||
|
||
Every time a subroutine is called this tool will do its best to find the | ||
filename the subroutine was defined in, and add it to a list. Also, anytime you | ||
attempt to open a file with open() or sysopen() the file will be added to the | ||
list. This list will be attached to a test2 event just before the test exits. In | ||
most formaters the event will only show up as a comment on STDOUT # This test | ||
covered N source files. . However tools such as Test2::Harness::UI can make full | ||
use of the coverage information contained in the event. | ||
|
||
WWW: https://metacpan.org/release/Test2-Plugin-Cover |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
%%SITE_ARCH%%/Test2/EventFacet/Coverage.pm | ||
%%SITE_ARCH%%/Test2/Plugin/Cover.pm | ||
%%SITE_ARCH%%/auto/Test2/Plugin/Cover/Cover.so | ||
%%PERL5_MAN3%%/Test2::EventFacet::Coverage.3.gz | ||
%%PERL5_MAN3%%/Test2::Plugin::Cover.3.gz |