[Dancer-users] Devel::Cover won't cover route handlers?

Michael Alan Dorman mdorman at ironicdesign.com
Thu Oct 27 19:27:47 CEST 2011

Hey, all,

So I've got a new application I've been working on, and I decided to do
a quick coverage check...and found that Devel::Cover seems to ignore all
route handlers.

You can see this yourself if you wish:

dancer -a TestApp
cd TestApp
perl Makefile.PL
cover -test

Look at the coverage report, and there's nothing marked for the / route,
even though it has been run.

Needless to say, this is a little disappointing, if only because I
realized that my 100% green report wasn't necessarily true. ;)

Any ideas on how to resolve this issue?


More information about the Dancer-users mailing list