Commit Graph

8 Commits

Author SHA1 Message Date
Paul Howarth
69cb8527ae Update to 0.012
- New upstream release 0.012
  - Re-release to fix t/00-report-prereqs.t use of CPAN::Meta::Requirements
2013-10-14 21:54:14 +01:00
Paul Howarth
2da2a991e2 Update to 0.011
- New upstream release 0.011
  - Unnecessary tests removed
  - CONTRIBUTING file added
- Drop buildreqs only needed for removed tests
- BR: optional test requirement perl(CPAN::Meta::Requirements)
2013-10-13 12:39:52 +01:00
Paul Howarth
3c29020dd1 Update to 0.010
- New upstream release 0.010
  - Re-release with fixed compile test
- Update dependencies
- Package examples
2013-09-25 16:35:37 +01:00
Paul Howarth
49cd1ffe65 Update to 0.009
- New upstream release 0.009
  - Fixed error in synopsis (we do not export anything by default)
  - A caveat added to the documentation regarding embedding warning checks
    inside another sub
  - ':no_end_test' now also covers side effects of done_testing, as well as
    END blocks, making it possible to use the warning(s) subs without having an
    end warning test while using done_testing (necessary when combining with
    the 'if' pragma)
  - END tests will not be added by a subequent use of Test::Warnings if a
    previous one passed ':no_end_test'
- Update dependencies
2013-09-11 14:54:36 +01:00
Dennis Gilmore
b25dc1007b - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-03 20:30:51 -05:00
Petr Písař
4441ae30d7 Perl 5.18 rebuild 2013-07-24 22:57:15 +02:00
Paul Howarth
cb57569f85 Update to 0.008
- New upstream release 0.008
  - Compile test updated, to hopefully fix mswin32 parsing issues
2013-07-15 15:23:14 +01:00
Paul Howarth
140dd48c37 Initial import (perl-Test-Warnings-0.007-1)
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.

It is actually equivalent to:

    use Test::NoWarnings 1.04 ':early';

as warnings are still printed normally as they occur. You are safe, and
enthusiastically encouraged, to perform a global search-replace of the above
with use Test::Warnings; whether or not your tests have a plan.
2013-07-11 13:37:29 +01:00