Re: How to write unit test for rpc invoking?

"fgmarand" <[email protected]> Fri, 20 May 2011 06:12:02 -0000
Newsgroups gmane.text.xml.rpc.specification
Message-ID <[email protected]>
It completely depends on what you are using to invoke XML-RPC, but you could take a look at the XML-RPC unit tests in Drupal:

http://drupalcode.org/project/examples.git/blob/refs/heads/7.x-1.x:/xmlrpc_example/xmlrpc_example.test


--- In [email protected], "fxbird" <fxbird@...> wrote:
>
>  In my project , I use xmlrpc to make rpc to the remote request, but I don't know how to write unit test to check if the rpc request has been really made and run successfully. Anyone has such experience?
>




------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/xml-rpc/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/xml-rpc/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/