The devel/p5-Test-Warnings port
p5-Test-Warnings-0.033 – test for warnings and the lack of them (cvsweb github mirror)
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.WWW: https://metacpan.org/release/Test-Warnings
Maintainer
Andrew Hewus Fresh
Categories
Test dependencies
Reverse dependencies
- converters/p5-JSON-Any
- databases/p5-CDB_File
- devel/p5-Class-Date
- devel/p5-Data-Munge
- devel/p5-DateTime
- devel/p5-DateTime-Format-Strptime
- devel/p5-Devel-CheckOS
- devel/p5-Devel-PartialDump
- devel/p5-Exporter-Tiny
- devel/p5-File-Copy-Recursive
- devel/p5-File-Slurper
- devel/p5-Getopt-Long-Descriptive
- devel/p5-Moose
- devel/p5-MooseX-Singleton
- devel/p5-MooseX-Types-Common
- devel/p5-Package-DeprecationManager
- devel/p5-Term-ProgressBar
- devel/p5-Test-CleanNamespaces
- devel/p5-Test-Compile
- devel/p5-Test-MockModule
- devel/p5-Test-Modern
- devel/p5-Type-Tiny
- misc/p5-Spreadsheet-XLSX
- net/p5-MaxMind-DB-Writer
- net/p5-Twitter-API
- sysutils/p5-Rex
- textproc/p5-File-KDBX
- textproc/p5-List-SomeUtils-XS
- textproc/p5-Text-Template
- www/p5-HTML-Form
- www/p5-HTTP-Headers-ActionPack
- www/p5-Test-LWP-UserAgent
- www/p5-URI
- www/p5-WWW-Mechanize
Files
- /usr/local/libdata/perl5/site_perl/Test/
- /usr/local/libdata/perl5/site_perl/Test/Warnings.pm
- /usr/local/man/man3p/Test::Warnings.3p