git-cpan-module: SOAP-WSDL git-cpan-version: 2.00.05 git-cpan-authorid: MKUTTER git-cpan-file: authors/id/M/MK/MKUTTER/SOAP-WSDL-2.00.05.tar.gz
24 lines
875 B
Plaintext
24 lines
875 B
Plaintext
# 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
|
|
#
|
|
|
|
perl -It/lib -MTAP::Harness -MFile::Find::Rule -e '
|
|
local $ENV{TEST_VERBOSE} = 1;
|
|
TAP::Harness->new({
|
|
merge => 1,
|
|
lib => [ q{t/lib}, q{lib} ],
|
|
switches => [ q{-MDevel::Cover=-ignore,.,-select,^lib/.+,-coverage,statement,-coverage,subroutine,-coverage,condition,-coverage,branch} ],
|
|
})->runtests( sort { $a cmp $b } File::Find::Rule->file()->name( q{*.t} )->in( q{t/} ) );
|
|
'
|
|
|
|
# Devel::CoverX::Covered
|
|
covered runs
|
|
|
|
cover -coverage="statement" -coverage=condition -coverage=subroutine -coverage="branch"
|
|
|