Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: webservice API testing

by Unforgiven (Hermit)
on Jun 24, 2009 at 19:50 UTC ( [id://774497]=note: print w/replies, xml ) Need Help??


in reply to webservice API testing

Your description is a little vague, but would something like Test::MockObject help solve your problem? If you're using it in a way in which the API is represented by an object or objects, something like this might let you test the rest of your program without having to actually use the API.

Replies are listed 'Best First'.
Re^2: webservice API testing
by spiros (Beadle) on Jun 24, 2009 at 20:01 UTC
    Hm, well what i was getting at is: how can i mock something that is supposed to be coming over the network, in this case, the results from the webservice. I want to do this in a clean and modular way.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://774497]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (2)
As of 2024-04-20 08:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found