nysus has asked for the wisdom of the Perl Monks concerning the following question:
I'm trying to make my test output from Test::More more user friendly. I've got this output from one of my tests:
ok 1 - module checks ok 2 - Should die if not passed an argument ok 3 - Can create new object # Subtest: attribute check ok 1 - has attribute: root_dir ok 2 - has type Str ok 3 - is ro ok 4 - is lazy ok 5 - has attribute: apache_config_path <snip> goes on for 56 more lines and fills my screen.
This one subtest basically fills my screen. I'm wondering how I might tame the output so only tests that fail show.
$PM = "Perl Monk's";
$MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate";
$nysus = $PM . ' ' . $MCF;
Click here if you love Perl Monks
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: A way to suppress output of passed tests in a subtest with Test::More?
by haukex (Archbishop) on Mar 02, 2017 at 16:32 UTC | |
by nysus (Parson) on Mar 02, 2017 at 16:45 UTC | |
by Anonymous Monk on Mar 02, 2017 at 18:12 UTC | |
by nysus (Parson) on Mar 02, 2017 at 16:41 UTC | |
by haukex (Archbishop) on Mar 05, 2017 at 10:14 UTC |