Yesterday I was happy to notice that you can use Test::Warn together with
Test::NoWarnings.
So you can test for a watning in a specific test while testing that
nothing else gives a warning.\
Good. :-)
Today I found out that if you skip_all tests while you have
Test::NoWarnings your test
will
This is because skip_all exists immediately but Test::NoWarnings has
installed an END block that will run a test anyway. I suppose I should
change T::NW to detect skip_all and not run its test but at the
moment there is no T::B API for detecting skip_all.
MScwern, do you want to add one? What
- Original Message
From: Fergal Daly [EMAIL PROTECTED]
To: Gabor Szabo [EMAIL PROTECTED]
Cc: Perl QA perl-qa@perl.org
Sent: Thursday, May 15, 2008 1:15:50 PM
Subject: Re: Test::NoWarnings and plan skip_all don't like each other
This is because skip_all exists immediately but
2008/5/15 Ovid [EMAIL PROTECTED]:
- Original Message
From: Fergal Daly [EMAIL PROTECTED]
To: Gabor Szabo [EMAIL PROTECTED]
Cc: Perl QA perl-qa@perl.org
Sent: Thursday, May 15, 2008 1:15:50 PM
Subject: Re: Test::NoWarnings and plan skip_all don't like each other
This is because