News for hackers. Stuff that matters.
Re:Show HN: HTTPretty, an easy way to mock http requests in ... by kevin1024 on Friday November 09, 2012 @07:28PM (#4765413)
I'm working on a HTTP testing library based on Ruby's VCR library[1]. I've got it to a pretty basic state where it is somewhat usable. I'm definitely interested in this area. Ruby's VCR uses the Webmock library as a backend (though it can use other pluggable backends) to mock out all the HTTP requests. I had to sort of grow my own Webmock - maybe I can integrate HTTPretty instead so we don't duplicate effort.

[1]: http://www.github.com/kevin1024/vcrpy/

Re:Show HN: HTTPretty, an easy way to mock http requests in ... by gingerlime on Saturday November 10, 2012 @05:50AM (#4766435)
Nice. The thing I liked about VCR is that it not only allows you to mock HTTP responses, but actually records the real response the first time you use it. So you don't even necessarily have to specify what the contents/headers of the response should look like manually... To have an equivalent library for python would be very neat. Hope you guys can join effort somehow to make it happen.