The names only print out if you use "verbose" mode. See the "-v" flag for prove, the description of the HARNESS_VERBOSE environment flag in Test::Harness and ways to set that automatically with Module::Build and ExtUtils::MakeMaker.
As a side note, you may want to write your test like this:
foreach (@items) { ... a lot of perl code ... unless (some condition) { $err = "Splunk is missing from Foobar"; } } ok(! $err,"Fancy code") or diag $err;
Using pass and fail is generally a more tedious way to work with Test::More.
-xdg
Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.
In reply to Re: Test::More test names?
by xdg
in thread Test::More test names?
by zigdon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |