Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Re^2: Test::More::ok and her ilk

by chromatic (Archbishop)
on Sep 17, 2018 at 18:00 UTC ( #1222530=note: print w/replies, xml ) Need Help??

in reply to Re: Test::More::ok and her ilk
in thread Test::More::ok and her ilk

We wrote those test functions all to return true or false respectively, so that the ok() ... or diag() pattern would work, for example.. It's documented in Test::More (I just checked), but it's not super obvious. I'm sure documentation patches would be welcome.

Replies are listed 'Best First'.
Re^3: Test::More::ok and her ilk
by rir (Vicar) on Sep 18, 2018 at 00:55 UTC

    My question was poorly made. There is an abundance of test programs and I am interested in the broad group of TAP emitting Perl testing programs. While I think most of the significant/popular modules follow Test::More's behaviour, I have no sound basis to support the thought. That thought is what I'd like to confirm or debunk before starting a project.

    (Update: "No sound basis"--like I don't even know which see much use.)

    I enjoyed your book with Langworth. I didn't care for the antiquing but you two delivered the high quality it was meant to suggest.


      Oh, I understand what you're asking now.

      I'm not aware of any requirement to follow this model imposed by Test::Builder or Test2, and I'm certain there's no relationship between this behavior and anything emitted as part of TAP.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1222530]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2020-09-26 15:07 GMT
Find Nodes?
    Voting Booth?
    If at first I donít succeed, I Ö

    Results (141 votes). Check out past polls.