Hi All,
I'm adding a framework for testing to Bricolage (we've never had one!
Yuck!), and am just trying to get my head around a few things. I've
decided to use Test::Class because it's a nice framework for working
with an application as large as Bricolage (over 150 classes!), but when
I run tests with TEST_VERBOSE=1, it doesn't do much -- just print out
the names of the test methods being called. I thought it would provide
more information about why tests fail and such. I mean, it prints
relevant failure messages from Test::More, but not, for example, the
names of the tests that failed.
In fact, other than the Test::Class method names, TEST_VERBOSE adds
nothing to the output -- not even diag messages. So I've added this to
the script that runs my test scripts through Test::Harness:
use Test::Harness qw(runtests $verbose);
$verbose = $ENV{TEST_VERBOSE} ? 1 : 0;
But what am I missing? I know that a lot of people on the cpan-testers
list ask for tests to be re-run with TEST_VERBOSE=1, but I can't see
that it actually makes much difference. Should it?
Thanks,
David
--
David Wheeler AIM: dwTheory
[EMAIL PROTECTED] ICQ: 15726394
http://david.wheeler.net/ Yahoo!: dew7e
Jabber: [EMAIL PROTECTED]