Hello everyone, I must start a project where a third party application
have
to be mocked in order to me to test it on my Rails 3.0.3 app. I’ve found
a
project on github GitHub - hayesdavis/mockingbird: An easy way to test code that relies on the Twitter Streaming API. that does it
for
the Twitter API but I want something more generic, do you know any
project?
Please help,
Rodrigo Alves V…
Rodrigo Alves V. wrote in post #975547:
Hello everyone, I must start a project where a third party application
have
to be mocked in order to me to test it on my Rails 3.0.3 app. I’ve found
a
project on github GitHub - hayesdavis/mockingbird: An easy way to test code that relies on the Twitter Streaming API. that does it
for
the Twitter API but I want something more generic, do you know any
project?
Try: GitHub - chrisk/fakeweb: Ruby test helper for injecting fake responses to web requests
You might also want to check out vcr - a standard wrapper around a bunch
of different stubbing libraries including fakeweb.
Best Wishes,
Peter
Thank you guys! I’ll deeply study them!
Robert W. wrote in post #975549:
Rodrigo Alves V. wrote in post #975547:
Hello everyone, I must start a project where a third party application
have
to be mocked in order to me to test it on my Rails 3.0.3 app. I’ve found
a
project on github GitHub - hayesdavis/mockingbird: An easy way to test code that relies on the Twitter Streaming API. that does it
for
the Twitter API but I want something more generic, do you know any
project?
Try: GitHub - chrisk/fakeweb: Ruby test helper for injecting fake responses to web requests
…or WebMock, which is similar but not GPL. I have a presentation
about it at http://marnen.github.com/webmock-presentation/webmock.html .
Best,
Marnen Laibow-Koser
http://www.marnen.org
[email protected]
Sent from my iPhone