Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

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

by chromatic (Archbishop)
on Sep 17, 2018 at 18:00 UTC ( [id://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.

    rir

      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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2024-04-25 18:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found