diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2013-09-08 15:46:36 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2013-09-08 15:46:36 +0000 |
commit | 9308b199084825c57f32875a0cb065058424e60b (patch) | |
tree | 7799f9deb7c994d63f5d8d8279a4a3e0369e48f6 /devel/Makefile | |
parent | 1ce36abe41cedac8f275017b8593a255609d3053 (diff) | |
download | ports-9308b199084825c57f32875a0cb065058424e60b.tar.gz ports-9308b199084825c57f32875a0cb065058424e60b.zip |
- Add p5-Test-Warnings 0.008
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: http://search.cpan.org/dist/Test-Warnings/
Notes
Notes:
svn path=/head/; revision=326749
Diffstat (limited to 'devel/Makefile')
-rw-r--r-- | devel/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index b511a19e9b3c..8f1f36e2edbe 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -2862,6 +2862,7 @@ SUBDIR += p5-Test-WWW-Mechanize-PSGI SUBDIR += p5-Test-WWW-Selenium SUBDIR += p5-Test-Warn + SUBDIR += p5-Test-Warnings SUBDIR += p5-Test-Weaken SUBDIR += p5-Test-Without-Module SUBDIR += p5-Test-XML |