How one should test an API which depends on other web services (SOAP
etc). e.g. Login to my API internally calls to another webservice API
for authentication. Also all the data sent back by my API is actually
data retrieved from another web service. Also should we verify the data
or just responses are 200 or something else.

Any thoughts?

Sidu Ponnappa wrote in post #1040936:
> Agreed. This is even more a bullet to bite early if your app
> orchestrates
> over more than one service, or if services talk to other services or
> both.
>
> Testing this kind of setup is pretty difficult and the tests are
> typically
> very brittle.
>
> Best,
> Sidu.
> http://c42.in
> http://rubymonk.com
>
> Sent from my phone

-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to