perl - Not able to generate the code coverage result using Devel::Cover -


i tried find code coverage c4rgr.pl test file devel::cover. have .pm module sitting in same area. using perl -mdevel::cover c4rgr.pl, generates cover_db , has runs subdirectory inside.

inside runs subdirectory, versionated directory created every time run cover command , cover.13 obtained. cover.13 file (i think) has raw data code coverage results.

still, unable test results in html output format or on terminal screen.

this do:

  1. run perl -mdevel::cover c4rgr.pl

    here, c4rgr.pl uses .pm module sitting in same area.

  2. when run above command, runs test file no test coverage output shown in devel::cover html output obtained. nevertheless, cover.13 file created every time.

    cover.13 <- 1401378982.24872.12631 <- runs <- cover_db .

  3. can tell me how html file, please? able run dummy test same features , generate html file. actual test, not. or there way convert cover.13 file html not being done in case?

after running perl -mdevel::cover c4rgr.pl, run cover command. example:

cover -report html -outputdir cover_report 

Comments

Popular posts from this blog

c++ - OpenCV Error: Assertion failed <scn == 3 ::scn == 4> in unknown function, -

php - render data via PDO::FETCH_FUNC vs loop -

The canvas has been tainted by cross-origin data in chrome only -