./devel/p5-Test-Warnings [test for warnings and the lack of them]
[+] Add this package to your ports tracker

[ CVSweb ] [ Homepage ] [ RSS feed ]

Version: 0.019, Package name: p5-Test-Warnings-0.019
Maintained by: Andrew Fresh
Master sites:
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.


Filesize: 32.401 KB
Version History (View Complete History)
  • (2015-01-05) Updated to version: p5-Test-Warnings-0.019
  • (2014-11-10) Updated to version: p5-Test-Warnings-0.016
  • (2014-05-10) Package added to openports.se, version p5-Test-Warnings-0.014 (created)
[show/hide] View available PLISTS (Can be a lot of data)

CVS Commit History:

   2017-08-01 16:53:11 by Alexander Bluhm | Files touched by this commit (11)
Log message:
Test::Tester is in base Perl now, remove all run and test dependencies
on devel/p5-Test-Tester.
OK afresh1@
   2016-03-20 13:57:24 by Christian Weisgerber | Files touched by this commit (1617)
Log message:
Remove SHARED_ONLY from all CPAN Perl ports and the cpan and perl MODULES.
Add WANTLIB+=perl and PKG_ARCH=* as appropriate.
   2015-01-05 08:34:15 by Benoit Lecocq | Files touched by this commit (2)
Log message:
Update to p5-Test-Warnings-0.019.
ok afresh1@ (maintainer)
   2015-01-05 08:34:15 by Benoit Lecocq | Files touched by this commit (2)
Log message:
Update to p5-Test-Warnings-0.019.
ok afresh1@ (maintainer)
   2014-11-09 18:25:21 by Andrew Fresh | Files touched by this commit (2)
Log message:
Update devel/p5-Test-Warnings to 0.016
OK bluhm@
   2014-11-09 18:25:21 by Andrew Fresh | Files touched by this commit (2)
Log message:
Update devel/p5-Test-Warnings to 0.016
OK bluhm@