Port details on branch 2022Q2 |
- p5-Test-Lives Decorate tests with a no-exceptions assertion
- 1.003 devel =0 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
- 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:
|