Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Test::More Too Verbose

by ikegami (Patriarch)
on Mar 26, 2010 at 01:42 UTC ( [id://831009]=note: print w/replies, xml ) Need Help??


in reply to Test::More Too Verbose

hum, it shouldn't give that uninitialized warning. I'd call that a bug. But you asked for the rest.

I wanted something like 'Failed test 'lxs command is missing.'.

That's not valid TAP, which is what Test::More and similar output. TAP is basically

1..5 ... ok 3 ...
or
1..5 ... not ok 3 ...

Most of the rest is optional, but it does allow to determine what the problem is, since you, the maintainer, is typically not the one that's going to be running the tests.

By the way, if you execute your test as follows, it'll hide pretty much all of the non-errors:

perl -MTest::Harness -e'runtests @ARGV' test.t

Log In?
Username:
Password:

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

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

    No recent polls found