Port details on branch 2022Q2 |
- p5-Test-Warnings Test for warnings and the lack of them
- 0.033 devel =0 0.033Version of this port present on the latest quarterly branch.
- Maintainer: sunpoet@FreeBSD.org
- Port Added: 2013-09-08 15:46:47
- Last Update: 2024-02-21 15:06:59
- Commit Hash: b451132
- Also Listed In: perl5
- License: ART10 GPLv1+
- WWW:
- https://metacpan.org/release/Test-Warnings
- Description:
- If you've ever tried to use Test::NoWarnings to confirm there are no warnings
generated by your tests, combined with the convenience of done_testing to not
have to declare a test count, you'll have discovered that these two features do
not play well together, as the test count will be calculated before the warnings
test is run, resulting in a TAP error. (See examples/test_nowarnings.pl in this
distribution for a demonstration.)
This module is intended to be used as a drop-in replacement for
Test::NoWarnings: it also adds an extra test, but runs this test before
done_testing calculates the test count, rather than after. It does this by
hooking into done_testing as well as via an END block. You can declare a plan,
or not, and things will still Just Work.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- p5-Test-Warnings>0:devel/p5-Test-Warnings
- To install the port:
- cd /usr/ports/devel/p5-Test-Warnings/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/p5-Test-Warnings
- pkg install p5-Test-Warnings
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: p5-Test-Warnings
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1708449036
SHA256 (Test-Warnings-0.033.tar.gz) = b9c375719f2c61c5f97aa5ee6cf4c901a972347c415969379b0b51f67c48bbcb
SIZE (Test-Warnings-0.033.tar.gz) = 44091
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.36<5.37 : lang/perl5.36
- Test dependencies:
-
- p5-CPAN-Meta-Check>=0.011 : devel/p5-CPAN-Meta-Check
- p5-Capture-Tiny>=0 : devel/p5-Capture-Tiny
- p5-Test-Kwalitee>=1.12 : devel/p5-Test-Kwalitee
- Runtime dependencies:
-
- perl5>=5.36<5.37 : lang/perl5.36
- This port is required by:
- for Build
-
- devel/p5-Test-Modern
- for Run
-
- devel/p5-Test-Modern
Configuration Options:
- No options to configure
- Options name:
- devel_p5-Test-Warnings
- USES:
- perl5
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|