It would be nice if mock http server was available to koala's users
Hey Alex,
I loved this gem and I am using it!
I thought it would be good if instead of the mock class belong in the spec tree it would be organized within the koala's code so actual users of the gem could use it as an advantage to offline testing.
If this is something you think it is doable and a real benefit, I can help to refactor with some guidance from you.
Thanks.
Hey fagiani,
I've lined someone up who's interested in working on this if you haven't started -- we're definitely interested and would love to include it in the 1.1 release (sometime in May or June).
Best,
Alex
Hi arsduo,
Can I add a +1 to this request? I'm very novice so don't think I have the know-how to help you, but would love to have a way to easily switch koala to test mode and modify the mock responses for the various requests.
Koala is very useful, keep up the good work!
Cheers, Rob
Hey Rob,
A colleague of mine is going to implement this next week; if all goes according to plan, it should be in the 1.1 release (tentatively scheduled for the end of the month).
Best,
Alex
Great news! Thanks for the plugin.
Chers, Rob
Hey Rob and Paolo,
You should check out http://snarfed.org/2011-11-09_anouncing_mockfacebook -- Ryan Barrett has developed a fantastic tool that provides mock Facebook responses from a real HTTP interface; I'll be adding support to Koala for using mockfacebook in the near future. That may well obviate the need to extend our mock HTTP interface (while I'd love to finally get to this issue someday, realistically mockfacebook is both immediately available and also probably a more useful solution in the long run).
Take a look and let me know what you think -- if this meets your needs, I'll close this issue.
Thanks!
Alex
Ah, the very olden days! This has long since not been a live issue -- nowadays there are so many better ways to handle doing development, among them VCR (which I hope to port the test suite to someday).
Hope you've all had a great 5.5 years! Closing this issue.