[Catalyst] Unit Testing
Matt S Trout
dbix-class at trout.me.uk
Mon Apr 21 19:24:16 BST 2008
On Mon, Apr 21, 2008 at 06:01:17PM +1000, Yao Wang wrote:
> Hi Everyone,
>
> After some research and tries. The testing code looks like following:
>
> BEGIN { use_ok 'MyApp::Controller::abc' };
>
> my $c = MyApp->prepare();
No.
Still not safe. Still not right. Don't. Stoppit.
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Director http://www.shadowcat.co.uk/catalyst/
Shadowcat Systems Ltd. Want a managed development or deployment platform?
http://chainsawblues.vox.com/ http://www.shadowcat.co.uk/servers/
More information about the Catalyst
mailing list