Fakeit is an open-source tool used for spoofing or faking HTTP web requests. This helper is used typically in scenarios where testing an application's request/response system is necessary. It is a lightweight software that can be easily integrated into other software stacks.
With FakeWeb, you can enjoy a range of request behaviours, from simple stubbing of HTTP responses to re-playing complete recorded responses. Not only does this provide the conceptual advantage of having idempotent request behaviour, but it also speeds up tests by eliminating the need for remote or local web servers.
Plus, FakeWeb makes it possible to run tests without a network connection or in situations where the server is behind a firewall or has host-based access controls. It has been tested with Net::HTTP and OpenURI and should work with any web client library that uses Net::HTTP for its underlying requests (e.g., Ruby/Amazon, soap4r, Flickr.rb, etc.).
Overall, FakeWeb is a reliable and efficient software that can revolutionize the way you approach web request testing.
Version 1.2.0: N/A