[r418]: trunk / TEST_COVERAGE  Maximize  Restore  History

Download this file

18 lines (14 with data), 624 Bytes

# Unfortunately, Build testcover reports test coverage wrong.
# To get a complete coverage report, just run this file as a shell script
# on a linux box (or execute the equivalent commands on another OS):
# Note that this shell script requires Devel::CoverX::Covered - if you
# don't have it, comment out the line noted below
cd t/
cover -delete
find . -type f -name '*.t' | xargs -n 1 /usr/bin/perl -MDevel::Cover=-silent,1,-summary,0 -I../lib > /dev/null

# Devel::CoverX::Covered
covered runs

cover -ignore_re \.t$ -ignore_re ^lib -coverage="statement" -coverage=condition -coverage=subroutine -coverage="branch"

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks