Lachie, This is very much awesome. This will probably come quite handy for a project we might be starting soon. The app is essentially a UI for a series of API calls so being able to stub out that API as a rack/sinatra app is pretty much exactly what we were going to do.
Thanks for sharing ... major props! Bo On Sun, Aug 1, 2010 at 8:37 PM, Lachie <[email protected]> wrote: > Hey peeps, > > I've been working on a library that takes a different tack on the > mocking of webs. After seeing this thread I finally gave it the last > bit of polish and released an initial version. > > Its called HttpVanilli and its here: http://github.com/lachie/http_vanilli > > One thing in particular: instead of attaching a novel URL recognising > & response engine to the job, you have the option of using something > rather better established and understood: Rack apps. > > What does this mean? You can simulate the target webservice by writing > a little Sinatra app. > > I'd be interested to hear what you think :) > > :lachie > http://plus2.com.au > http://smartbomb.com.au > http://www.flickr.com/photos/lachie/ > > > > On Sun, Aug 1, 2010 at 10:12 AM, Jonathan Clarke <[email protected]> wrote: >> http://fakeweb.rubyforge.org/ >> >> Hitting real APIs during development / testing is far too slow. >> >> Jonathan >> >> On 1 August 2010 01:52, Alex Pooley <[email protected]> wrote: >>> Stub with fake data instead of making the API call. >>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "Ruby or Rails Oceania" group. >>> To post to this group, send email to [email protected]. >>> To unsubscribe from this group, send email to >>> [email protected]. >>> For more options, visit this group at >>> http://groups.google.com/group/rails-oceania?hl=en. >>> >>> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Ruby or Rails Oceania" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/rails-oceania?hl=en. >> >> > > -- > You received this message because you are subscribed to the Google Groups > "Ruby or Rails Oceania" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/rails-oceania?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en.
