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'));
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 <firstname.lastname@example.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.