Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Combine coverage reports

by ovedpo15 (Pilgrim)
on Oct 10, 2019 at 19:30 UTC ( [id://11107322]=perlquestion: print w/replies, xml ) Need Help??

ovedpo15 has asked for the wisdom of the Perl Monks concerning the following question:

Hello Monks
I have some tests there being run separately and for each one of them I have a coverage report using Devel::Cover.
I would like to combine those two reports into one main report. What is the proper way to do so?
I could write a wrapper which executes this tests but I have to run them separately.
For example:
/path1/to/test1/cover_db /path2/to/test2/cover_db
How to combine those two reports?

Replies are listed 'Best First'.
Re: Combine coverage reports
by jcb (Parson) on Oct 10, 2019 at 22:13 UTC

    Try: cover /path1/to/test1/cover_db /path2/to/test2/cover_db at the shell prompt.

Re: Combine coverage reports
by LanX (Saint) on Oct 10, 2019 at 20:35 UTC
    I think that's what TAP::Harness is for.

    Disclaimer: Haven't used it yet by myself.

    HTH! :)

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://11107322]
Approved by LanX
Front-paged by haukex
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (2)
As of 2024-04-16 15:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found