The stupid question is the question not asked | |
PerlMonks |
Re^2: Unit test of script fails unless Test::Warnings is used?!by wanna_code_perl (Friar) |
on Oct 13, 2019 at 01:17 UTC ( [id://11107393]=note: print w/replies, xml ) | Need Help?? |
I use Test::Exception all over this test suite. In fact, it was one of the use lines I deleted. :-) Using it for the require test hadn't occurred to me, though. I'll switch to that. Thanks. Edit: How would I replicate the OP's BAIL_OUT semantics when using lives_ok? Edit: Either you edited your reply, or I didn't see you answering the bit about why the test failed unless Test::Warnings was included. That makes perfect sense.
In Section
Seekers of Perl Wisdom
|
|