
CatalystX::Test::MessageDriven - test message-driven Catalyst apps

Derived from Catalyst::Test, this module provides a way to run tests against message-driven Catalyst applications - those with Catalyst::Controller::MessageDriven-based controllers, and expect to run with Catalyst::Engine::Stomp.

BEGIN { use_ok 'CatalystX::Test::MessageDriven', 'SomeApp' };
my $req = '... some message text ...';
my $queue = 'somequeue';
my $res = request($queue, $req);
ok($res);

This function accepts a queue and a message, and runs the request in that context. Returns a response object.

Some test wrappers - successful / error message conditions?

See information in Catalyst::Engine::Stomp

Copyright (C) 2009 Venda Ltd
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.