Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Exclude certain paths from Devel::Cover's coverage report

Tags:

testing

perl

We've got a lot of shared libraries in our project which reside under specific path (but not in Perl's default @INC).

By default, cover -t would report coverage on both the modules being tested and our common modules. I only need coverage figures on the modules I'm developing.

I've tried adding the path to the --ignore_re, but it didn't help.

So the question is: is there a way to exclude a module path from coverage test?

like image 580
Dallaylaen Avatar asked Mar 12 '12 13:03

Dallaylaen


1 Answers

A similar bug report was submitted for Devel::Cover: summary, report total from cover tool includes ignored files

like image 162
toolic Avatar answered Nov 09 '22 16:11

toolic