Skip Menu |

This queue is for tickets about the Test-Compile CPAN distribution.

Report information
The Basics
Id: 102817
Status: resolved
Priority: 0/
Queue: Test-Compile

People
Owner: Nobody in particular
Requestors: EGILES [...] cpan.org
Cc: jeff [...] thaljef.org
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: v2.2.2



CC: "Jeffrey Ryan Thalhammer" <jeff [...] thaljef.org>
Subject: Default 'verbose' setting should do what you want
As reported by Jeffrey Ryan Thalhammer: Show quoted text
> In fact, I think most people expect tests to be quiet when they succeed and noisy when > they fail. So I suggest trapping STDERR and displaying it only if the test fails > (by default). You could still use verbose to force the output on or off, if you really > want.
The current default 'verbose' setting for Test::Compile is to "be noisy all the time". It is possible to set unset verbose - which means "never say anything". The problem with "be noisy all the time" is that it outputs stuff that no one should care about. The problem with "never say anything" is that you won't see errors if a module doesn't compile. It should be possible to choose a verbose setting of "be quiet unless there are compile errors". Then maybe that verbose setting should be the default.
Hi The verbose method in Test::Compile is now silent by default unless there is a failure. A great suggestion. Thank you