wycats/artifice

Posted . Visible to the public.

Artifice allows you to replace the Net::HTTP subsystem of Ruby with an equivalent that routes all requests to a Rack application.

You can use Sinatra, raw Rack, or even Rails as your application, allowing you to build up an equivalent to the remote service you are mocking out using familiar and convenient tools to route requests and build up responses.

Last edit
Keywords
testing, rails, ruby, rack, makandra
License
Source code in this card is licensed under the MIT License.
Posted by Lexy to makandra dev (2011-04-01 20:40)