Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Test::More to only report fails?

by choroba (Cardinal)
on Nov 06, 2021 at 16:39 UTC ( [id://11138514]=note: print w/replies, xml ) Need Help??


in reply to Test::More to only report fails?

What about using TAP::Formatter::JUnit and then use
/testsuites/testsuite[@failures!=0]/testcase[failure]
to select the failed tests (tested in XML::XSH2).

map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]

Replies are listed 'Best First'.
Re^2: Test::More to only report fails?
by LanX (Saint) on Nov 06, 2021 at 17:10 UTC
    is that similar to hippo's solution, in that it generates a long list of tests and filters the failed once a posteriori?

    In my case I'm randomly generating 1e6+ cases ...

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery

Log In?
Username:
Password:

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

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

    No recent polls found