October 2006

Code Coverage Statistics

For those who like to play along in my game of testing OCD, I’ve put the current code coverage stats online. It’s getting greener all the time. :-)

Off Topic

Comments Off

Permalink

Module::Starter::Handel

After a few different people have struggled through customizing their use of Handel, I decided that it might be worth it to hack together a quickstart script that took care of all the basic subclassing hoopla. The new module can be found in the 1.0 dev branch and it requires that you have Module::Starter installed.

To create a new project, call the module-starter script passing in the class parameter, the project name and the other parameters required by module-starter:

module-starter --class=Module::Starter::Handel --module=MyProject \
--author="Me" --email="me@example.com" --verbose

and you should end up with some nice new spiffy project modules:

Created MyProject
Created MyProject\lib\MyProject
Created MyProject\lib\MyProject\Cart.pm
Created MyProject\lib\MyProject\Cart
Created MyProject\lib\MyProject\Cart\Item.pm
Created MyProject\lib\MyProject\Storage
Created MyProject\lib\MyProject\Storage\Cart.pm
Created MyProject\lib\MyProject\Storage\Cart
Created MyProject\lib\MyProject\Storage\Cart\Item.pm
Created MyProject\lib\MyProject\Order.pm
Created MyProject\lib\MyProject\Order
Created MyProject\lib\MyProject\Order\Item.pm
Created MyProject\lib\MyProject\Storage\Order.pm
Created MyProject\lib\MyProject\Storage\Order
Created MyProject\lib\MyProject\Storage\Order\Item.pm
Created MyProject\lib\MyProject\Checkout.pm
Created MyProject\t
Created MyProject\t\pod-coverage.t
Created MyProject\t\pod.t
Created MyProject\t\boilerplate.t
Created MyProject\t\00-load.t
Created MyProject\.cvsignore
Created MyProject\Makefile.PL
Created MyProject\MANIFEST
Created starter directories and files

New Features

Comments Off

Permalink