Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^2: too much testing?

by ForgotPasswordAgain (Priest)
on Oct 03, 2005 at 09:30 UTC ( [id://496849]=note: print w/replies, xml ) Need Help??


in reply to Re: too much testing?
in thread too much testing?

If that was a design choice, why was it called Test::More? I'm thinking of Matrix Reloaded, when Agent Smith demands more agents join the fight with Neo. MORE!

I also don't think it's consistent with the DESCRIPTION in Test::More's perldoc:

The purpose of this module is to provide a wide range of testing utilities. Various ways to say "ok" with better diagnostics, facilities to skip tests, test future features and compare complicated data structures. While you can do almost anything with a simple "ok()" function, it doesn't provide good diagnostic output.

And incidentally, I've also wondered why there wasn't a not_ok function.

Replies are listed 'Best First'.
Re^3: too much testing?
by adrianh (Chancellor) on Oct 03, 2005 at 13:45 UTC
    If that was a design choice, why was it called Test::More

    Because it tests more than Test::Simple. It's not Test::Everything :-)

    Schwern (quite rightly in my opinion) has kept Test::More to a minimal set of useful stuff.

    And incidentally, I've also wondered why there wasn't a not_ok function.

    Probably because providing one wouldn't really give you any additional useful information over doing something like:

    ok( not $expected_to_be_false );

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (5)
As of 2024-04-24 04:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found