[Catalyst] Coverage tests in Catalyst

Frank Wiegand frank.wiegand at gmail.com
Tue Dec 12 14:31:10 GMT 2006


Jonathan Rockway schrieb:
>     $ perl -MDevel::Cover myapp_server.pl
>     <request stuff>
>     $ cover

I tried that:

$ catalyst.pl Foo
...
$ cd Foo
$ perl -MDevel::Cover script/foo_server.pl
...
You can connect to your server at http://localhost:3000

[some requests ...]

And now? How do I have to stop the server to get Devel::Cover to write the 
coverage database? If I kill the server (CTRL-C), then the cover_db 
directory stays empty.

Any ideas?


Thanks, Frank



More information about the Catalyst mailing list