Re: TAP::Harness and -w

[email protected] (Buddy Burden) Wed, 18 Sep 2013 22:25:00 -0700
Newsgroups perl.qa
Message-ID <[email protected]>
> Cons of adding -w to test runs:
> 	- you get warnings from dependencies (and their dependencies) because -w
> enables global action at a distance
> 	- using fatal warnings may cause your test suite to fail because of
> warnings in dependencies you don't directly control

        - you could get different output from running tests via `prove` than you
do via running the test file directly, which could cause you to scrath your head
and go "WTF??"

I see Ovid mentioned in a later email that prove uses TAP::Harness instead of Test::Harness, implying that it doesn't have this problem, but I know I spent several hours a few months back trying to figure out just what the hell was going on, and it finally came down to _somebody_ flipping on -w unexpectedly.


		-- Buddy