Test::XML::RPC::Catalyst - Testing of Catalyst based XMLRPC applications
use Test::XML::RPC::Catalyst qw/Catty/; my $xmlrpc = Test::XML::RPC::Catalyst->new; ok ($xmlrpc->call ('system.listMethods'));
This module merges Test::WWW::Mechanize::Catalyst and XML::RPC in order to provide test functionality for Catalyst based XMLRPC applications.
Takes the same arguments as the constructor of XML::RPC, but is overridden to provide default arguments. If no url is specified as first argument, a default of 'http://localhost/rpc' is used. Keep in mind when specifying an url that no actual connections are made, your application is used directly so the url is only useful for specifying what path the XMLRPC access point is which by default is '/rpc'.
$xmlrpc->can_xmlrpc_methods ([qw/foo.bar foo.baz/],'Supports my xmlrpc methods');
Tests if methods given as an arrayref in the first argument exists on the server.
For methods inherited from the superclass, see XML::RPC.
Most software has bugs. This module probably isn't an exception. If you find a bug please either email me, or add the bug to cpan-RT.
Anders Nor Berle <berle@cpan.org>
Copyright 2008 by Anders Nor Berle.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Test::XML::RPC::Catalyst, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::XML::RPC::Catalyst
CPAN shell
perl -MCPAN -e shell install Test::XML::RPC::Catalyst
For more information on module installation, please visit the detailed CPAN module installation guide.