Port details |
- p5-Test-Lives Decorate tests with a no-exceptions assertion
- 1.003 devel =2 1.003Version of this port present on the latest quarterly branch.
- Maintainer: sunpoet@FreeBSD.org
- Port Added: 2022-09-04 03:54:09
- Last Update: 2022-09-07 21:58:51
- Commit Hash: fb16dfe
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- Also Listed In: perl5
- License: ART10 GPLv1+
- WWW:
- https://metacpan.org/dist/Test-Lives
- Description:
- Test::Lives provides only one function, lives_and, which works almost exactly
like the function of the same name in Test::Exception. That is, it allows you to
test things that could (but shouldn't) throw an exception without having to have
two separate tests with two separate results (and two separate descriptions).
You pass it a block of code to run (which should contain one test assertion) and
a test description to give the assertion inside the block.
The description will be available inside the block in the $_ variable. (This is
different from Test::Exception, which employs hacky magic to relieve you of
having to pass the description to the decorated assertion.)
If the block ends up throwing an exception, a test failure will be logged.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- p5-Test-Lives>0:devel/p5-Test-Lives
- To install the port:
- cd /usr/ports/devel/p5-Test-Lives/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/p5-Test-Lives
- pkg install p5-Test-Lives
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: p5-Test-Lives
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1662212100
SHA256 (Test-Lives-1.003.tar.gz) = d811b18522161116dd5d45dd1711d6f7178cf64d00b5316c0bcfe4a6f86a6d94
SIZE (Test-Lives-1.003.tar.gz) = 11115
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- perl5>=5.32.r0<5.33 : lang/perl5.32
- Runtime dependencies:
-
- perl5>=5.32.r0<5.33 : lang/perl5.32
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- devel_p5-Test-Lives
- USES:
- perl5
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
07 Sep 2022 21:58:51 |
Stefan Eßer (se) |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
1.003 07 Sep 2022 21:10:59 |
Stefan Eßer (se) |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
1.003 04 Sep 2022 03:41:27 |
Po-Chuan Hsieh (sunpoet) |
devel/p5-Test-Lives: Add p5-Test-Lives 1.003
Test::Lives provides only one function, lives_and, which works almost exactly
like the function of the same name in Test::Exception. That is, it allows you to
test things that could (but shouldn't) throw an exception without having to have
two separate tests with two separate results (and two separate descriptions).
You pass it a block of code to run (which should contain one test assertion) and
a test description to give the assertion inside the block.
The description will be available inside the block in the $_ variable. (This is
different from Test::Exception, which employs hacky magic to relieve you of
having to pass the description to the decorated assertion.)
If the block ends up throwing an exception, a test failure will be logged.
WWW: https://metacpan.org/dist/Test-Lives |