Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: Bailing out when testing

by sedusedan (Pilgrim)
on Oct 25, 2012 at 10:29 UTC ( [id://1000808]=note: print w/replies, xml ) Need Help??


in reply to Re: Bailing out when testing
in thread Bailing out when testing

I'm talking about a single test file, so -j is irrelevant here.

Actually it's not how long the test file runs (which is not more than a few seconds), but the amount of diagnostic output that the failures spew. In my particular case I want just the "head" of the diagnostics.

Anyway, thanks for the suggestions.

Replies are listed 'Best First'.
Re^3: Bailing out when testing
by pobocks (Chaplain) on Oct 25, 2012 at 12:02 UTC

    If you only want to do this occasionally, why not pipe the output to 'head'?

    for(split(" ","tsuJ rehtonA lreP rekcaH")){print reverse . " "}print "\b.\n";

      Because the diagnostic of the first failed test might take many lines.

      Anyway, McDarren's links give the necessary background information about issues in adding the requested feature. Perhaps I'll use Test::Most.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (2)
As of 2026-01-17 03:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your view on AI coding assistants?





    Results (120 votes). Check out past polls.

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.