Failed Test Stat Wstat Total Fail List of Failed ---------------------------------------------------------------------- +--------- t/bar.t 4 1024 13 4 2 6-8 t/foo.t 1 256 10 1 5 (1 subtest UNEXPECTEDLY SUCCEEDED). Failed 2/3 test scripts. 5/33 subtests failed. Files=3, Tests=33, 0 wallclock secs ( 0.10 cusr + 0.01 csys = 0.11 +CPU) Failed 2/3 test programs. 5/33 subtests failed.
  1. What is 'stat'? How does it help identify the failures?
  2. Ditto 'Wstat'?
  3. What does 'UNEXPECTEDLY SUCCEEDED' mean?

    If a test is designed to fail, then does it get reported as a failure when it does fail? Or is that an 'EXPECTED FAILURE'?

  4. Which test 'UNEXPECTEDLY SUCCEEDED'?

    If it's not important enough to tell me which one, why is it important enough to bother mentioning it at all?

  5. What is the difference between "test scripts" and "test programs"?

    And if they are the same thing, why is it neccesary to give me the same information twice?

    Actually, 3 times. "Files=3, Tests=33, " is just a subset of the same information above and below it.

  6. When was the last time anyone optimised their test scripts?

    Is there any other use for that timing information?

Of course, you'll be taking my thoughts on this with a very large pinch of salt as I do not use these tools. The above are some of the minor reasons why not.

Much more important is that there are exactly two behaviours I need from a test harness.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
"Too many [] have been sedated by an oppressive environment of political correctness and risk aversion."

In reply to Re^3: Need advice on test output by BrowserUk
in thread Need advice on test output by Ovid

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.