Shouldn't verbose mode show them?

karlgoethebier suggested it earlier in the discussion, but hv has not come back and told us results in the specific circumstances.

But creating my own simple SSCCE shows that verbose does, in fact, shows TODOs.

C:\tmp\perl > type t\11163309.t use 5.014; # //, strict, say, s///r use warnings; use Test::More; ok 1, "gimme"; TODO: { local $TODO = "proof of concept"; ok 0, "failing TODO"; } done_testing; C:\tmp\perl > prove t\11163309.t .. ok All tests successful. Files=1, Tests=2, 1 wallclock secs ( 0.12 usr + 0.00 sys = 0.12 CPU +) Result: PASS C:\tmp\perl > prove -v t\11163309.t .. ok 1 - gimme not ok 2 - failing TODO # TODO proof of concept # Failed (TODO) test 'failing TODO' # at t\11163309.t line 11. 1..2 ok All tests successful. Files=1, Tests=2, 0 wallclock secs ( 0.09 usr + 0.02 sys = 0.11 CPU +) Result: PASS

And if the TODO test is changed to a passing value, then both non-verbose and verbose indicate in the Test Summary Report that the TODO test is now passing (to tell you that it may be safe to remove the TODO-ness):

C:\tmp\perl > prove t\11163309.t .. ok All tests successful. Test Summary Report ------------------- t\11163309.t (Wstat: 0 Tests: 2 Failed: 0) TODO passed: 2 Files=1, Tests=2, 0 wallclock secs ( 0.08 usr + 0.03 sys = 0.11 CPU +) Result: PASS C:\tmp\perl > prove -v t\11163309.t .. ok 1 - gimme ok 2 - passing TODO # TODO proof of concept 1..2 ok All tests successful. Test Summary Report ------------------- t\11163309.t (Wstat: 0 Tests: 2 Failed: 0) TODO passed: 2 Files=1, Tests=2, 0 wallclock secs ( 0.09 usr + 0.02 sys = 0.11 CPU +) Result: PASS

In reply to Re^5: Testing: shades of grey by pryrt
in thread Testing: shades of grey by hv

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.