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