./devel/p5-Test-NoWarnings, Make sure tests of Perl5 modules did not emit any warnings

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.06nb3, Package name: p5-Test-NoWarnings-1.06nb3, Maintainer: pkgsrc-users

In general, your tests shouldn't produce warnings. This module
causes any warnings to be captured and stored. It automatically
adds an extra test that will run when your script ends to check
that there were no warnings. If there were any warnings, the test
will give a "not ok" and diagnostics of where, when, and what the
warning was, including a stack trace of what was going on when it
occurred.

If some of your tests are supposed to produce warnings then you
should be capturing and checking them with Test::Warn, that way
Test::NoWarnings will not see them and so not complain.


Required to run:
[lang/perl5] [devel/p5-Test-Simple]

Required to build:
[pkgtools/cwrappers]

Master sites: (Expand)

Filesize: 18.989 KB

Version history: (Expand)


CVS history: (Expand)


   2023-07-06 11:43:03 by Thomas Klausner | Files touched by this commit (2483)
Log message:
*: recursive bump for perl 5.38
   2022-06-28 13:38:00 by Thomas Klausner | Files touched by this commit (3952)
Log message:
*: recursive bump for perl 5.36
   2021-10-26 12:20:11 by Nia Alarie | Files touched by this commit (3016)
Log message:
archivers: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Could not be committed due to merge conflict:
devel/py-traitlets/distinfo

The following distfiles were unfetchable (note: some may be only fetched
conditionally):

./devel/pvs/distinfo pvs-3.2-solaris.tgz
./devel/eclipse/distinfo eclipse-sourceBuild-srcIncluded-3.0.1.zip
   2021-10-11 22:48:12 by Amitai Schleier | Files touched by this commit (2)
Log message:
Update to 1.06. From the changelog:

- released as stable
- clarify docs around tests without a plan
- documentation cleanups and typo fixes
- minor code cleanups
- use warnings in tests
- skip fork test if perl can't fork
- note conflicts with Carp::Always in documentation
- Made had_no_warnings turn off the checking at END time for use with
  done_testing based tests with no test count. Also added docs.
   2021-10-07 15:44:44 by Nia Alarie | Files touched by this commit (3017)
Log message:
devel: Remove SHA1 hashes for distfiles
   2021-05-24 21:56:06 by Thomas Klausner | Files touched by this commit (3575)
Log message:
*: recursive bump for perl 5.34
   2020-09-04 15:45:17 by Thomas Klausner | Files touched by this commit (38)
Log message:
*: remove p5-Test-Simple, part of perl
   2020-08-31 20:13:29 by Thomas Klausner | Files touched by this commit (3631)
Log message:
*: bump PKGREVISION for perl-5.32.