Mock5 — stub remote APIs with Sinatra
I’ve made a new gem called Mock5 that allows to easily create remote API mocks using Sinatra and plug/unplug them at will. Using it, you can test all kind of situations, like API being down or taking too long to respond, responding successfully or with authentication error.
Post a comment