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:
run
perl -mdevel::cover c4rgr.plhere,
c4rgr.pluses .pm module sitting in same area.when run above command, runs test file no test coverage output shown in
devel::coverhtml output obtained. nevertheless,cover.13file created every time.cover.13<-1401378982.24872.12631<- runs <-cover_db.can tell me how html file, please? able run dummy test same features , generate html file. actual test, not. or there way convert
cover.13file html not being done in case?
after running perl -mdevel::cover c4rgr.pl, run cover command. example:
cover -report html -outputdir cover_report
Comments
Post a Comment