p5-Test-Warnings-0.026.txz


Advertisement

Description

p5-Test-Warnings - Test for warnings and the lack of them

Property Value
Distribution FreeBSD 12
Repository FreeBSD Ports Latest amd64
Package filename p5-Test-Warnings-0.026.txz
Package name p5-Test-Warnings
Package version 0.026
Package release -
Package architecture amd64
Package type txz
Category devel perl5
Homepage https://metacpan.org/release/Test-Warnings
License GPLv1+, ART10
Maintainer sunpoet@FreeBSD.org
Download size 16.98 KB
Installed size 54.22 KB
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

Alternatives

Package Version Architecture Repository
p5-Test-Warnings-0.026.txz 0.026 i386 FreeBSD Ports Latest
p5-Test-Warnings-0.026.txz 0.026 amd64 FreeBSD Ports Quarterly
p5-Test-Warnings-0.026.txz 0.026 i386 FreeBSD Ports Quarterly
p5-Test-Warnings - - -

Requires

Name Value
perl5 = 5.28.1_1

Download

Type URL
Mirror pkg.freebsd.org
Binary Package p5-Test-Warnings-0.026.txz
Source Package devel/p5-Test-Warnings

Install Howto

Install p5-Test-Warnings txz package:

# pkg install p5-Test-Warnings

See Also

Package Description
p5-Test-Weaken-3.022000_1.txz Test that freed memory objects were, indeed, freed
p5-Test-Without-Module-0.20.txz Test fallback behaviour in absence of modules
p5-Test-XML-0.08_1.txz Compare XML in perl tests
p5-Test-XML-Valid-0.04_1.txz Validate XML and XHTML
p5-Test-XPath-0.19.txz Test XML and HTML content and structure with XPath expressions
p5-Test-YAML-1.07.txz Testing Module for YAML Implementations
p5-Test-YAML-Meta-0.22.txz Validation of the META.yml file in a distribution
p5-Test-YAML-Valid-0.04_2.txz Test for valid YAML
p5-Test-mysqld-0.17_1.txz Perl extension for mysqld test runner
p5-Test-postgresql-0.09_2.txz Perl extension of postgresql runner for tests
p5-Test-utf8-1.01_1.txz Handy UTF-8 tests
p5-Test2-Harness-0.001073.txz Test2 Harness designed for the Test2 event system
p5-Test2-Plugin-NoWarnings-0.06.txz Fail if tests warn
p5-Test2-Suite-0.000119.txz Distribution with a rich set of tools built upon the Test2 framework
p5-TestGen4Web-Runner-0.11_2.txz Perl module to replay files recorded with TestGen4Web
Advertisement
Advertisement