[Catalyst-dev] RFC: Catalyst::Test::LocalContext

Matt S Trout dbix-class at trout.me.uk
Tue Sep 18 21:37:04 GMT 2007


On Tue, Sep 18, 2007 at 01:32:03AM +0200, Sebastian Willert wrote:
> Hi all,
> 
> I often found myself wanting to test some internal aspects of my request
> handling in Catalyst or were to lazy to check the full returned HTML and
> rather just inspect the stack.
> 
> For this purpose I expanded Catalyst::Test and threw away its remote
> functionality. So without further ado, I'd like to ask for your comments
> on this idea/module/name. POD follows.

The $c mocking stuff should be separate so it can be used for unit testing.

The "test $c afterwards" stuff, maybe it should be possible to throw a
Dumper-isation of $c over the wire or something.

More interestingly, does anybody ever actually use the remote stuff in ::Test
directly?

-- 
      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-dev mailing list