[Catalyst] unit testing with MockObject

Matt S Trout dbix-class at trout.me.uk
Sun Jun 4 14:17:47 CEST 2006


Daniel McBrearty wrote:
> good question ... I have an auto action in the root controller which
> redirects unless the request is to public/home OR (some other stuff).
> 
> Maybe I should move that action into Root.

Or test that by mocking the $c ...



More information about the Catalyst mailing list