Sarathy's convinced me that we need a better way to format skip reasons so
they don't just run off the end of the screen. After a lot of hemming and
hawing on my part, we may have found an easy fix.
So here's an example of a rather busy report with 2.03.
t/sample-tests/descriptive.....ok
t/sample-tests/with_comments...ok, 2/5 unexpectedly succeeded
t/sample-tests/combined........FAILED tests 3, 9
Failed 2/10 tests, 80.00% okay (-1 skipped test: 7 okay, 70.00%)
t/sample-tests/skip............ok, 1/5 skipped: rain delay
t/sample-tests/skip_no_msg.....ok, 1/1 skipped: [no reason given]
t/sample-tests/skip_all........skipped: rope
t/sample-tests/todo............ok, 1/5 unexpectedly succeeded
t/sample-tests/todo_inline.....ok, 1/3 unexpectedly succeeded
t/sample-tests/simple..........ok
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/sample-tests/combined 10 2 20.00% 3 9
(5 subtests UNEXPECTEDLY SUCCEEDED), 1 test and 3 subtests skipped.
Failed 1/9 test scripts, 88.89% okay. 2/39 subtests failed, 94.87% okay.
and how here's the same battery of tests run with a few simple formatting
changes.
t/sample-tests/descriptive.....ok
t/sample-tests/with_comments...ok
2/5 unexpectedly succeeded
t/sample-tests/combined........FAILED tests 3, 9
Failed 2/10 tests, 80.00% okay (less 1 skipped test: 7 okay, 70.00%)
t/sample-tests/skip............ok
1/5 skipped: rain delay
t/sample-tests/skip_no_msg.....ok
1/1 skipped: [no reason given]
t/sample-tests/skip_all........skipped
skipped: rope
t/sample-tests/todo............ok
1/5 unexpectedly succeeded
t/sample-tests/todo_inline.....ok
1/3 unexpectedly succeeded
t/sample-tests/simple..........ok
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/sample-tests/combined 10 2 20.00% 3 9
(5 subtests UNEXPECTEDLY SUCCEEDED), 1 test and 3 subtests skipped.
Failed 1/9 test scripts, 88.89% okay. 2/39 subtests failed, 94.87% okay.
It makes a noticable difference when the file path to the test and the skip
reason is long.
.../ext/I18N/Langinfo/Langinfo.........skipped: I18N::Langinfo or POSIX unavail
able
vs
.../ext/I18N/Langinfo/Langinfo.........skipped
skipped: I18N::Langinfo or POSIX unavailable
What do people think?
--
Michael G. Schwern <[EMAIL PROTECTED]> http://www.pobox.com/~schwern/
Perl Quality Assurance <[EMAIL PROTECTED]> Kwalitee Is Job One
Kids - don't try this at--oh, hell, go ahead, give it a whirl...