Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Test::More to only report fails?

by LanX (Saint)
on Nov 06, 2021 at 19:53 UTC ( [id://11138522]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    is(1,0,"FAIL"); 
    
    done_testing;
    
  2. or download this
    C:/Strawberry/perl/bin\perl.exe -w d:/tmp/pm/redirect_Tests.pl 
    #   Failed test 'FAIL'
    ...
    #          got: '1'
    #     expected: '0'
    # Looks like you failed 1 test of 11.
    
  3. or download this
    open my $null,">","nul";
    
    Test::More->builder->output($null);
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2024-04-16 10:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found