httpbuilder icon indicating copy to clipboard operation
httpbuilder copied to clipboard

Services for test dependencies

Open thom-nic opened this issue 12 years ago • 2 comments

Hi Jason,

I noticed you had to comment out some tests that relied on third-party services. I actually setup an appengine project a while ago called RestMirror that.. does what it sounds like. If you POST a blob it responds with that blob. And you could update it so it responds some way to GET requests too. So that might be a good way to support "real" functional HTTP tests that don't rely on Google, Twitter, etc. If you want I can add you as an admin to the project so you can enhance it. If you're not a fan of AppEngine you could probably do the same with a free Heroku dev account.

thom-nic avatar Oct 16 '12 12:10 thom-nic

Thanks for the heads up on the RestMirror. I think I'm actually going to look into using Betamax (http://freeside.co/betamax/) first. It's a framework that can record and replay requests through http client. If that doesn't work out, I'll get back in touch with you about RestMirror.

jgritman avatar Oct 16 '12 15:10 jgritman

Let me know if there's anything else that you need "transferred" - although I think most everything you can get granted permission from Codehaus. Do you want the password to the httpbuilder twitter account? :)

thom-nic avatar Oct 16 '12 16:10 thom-nic