Sha256: 74fa36e006c32e2453e1659d87ffdc9aa2675dffa06565d1c13764220da2f0e7
Contents?: true
Size: 1.32 KB
Versions: 1
Compression:
Stored size: 1.32 KB
Contents
require 'service_mock/core_ext/string' require 'service_mock/version' require 'service_mock/command_line_options' require 'service_mock/server' require 'service_mock/render_subtemplate' require 'service_mock/stub_creator' require 'service_mock/rake/rake_tasks' # # ServiceMock is a Ruby gem that provides a wrapper over the [WireMock](http://wiremock.org) # library. The gem provides the ability to perform many actions on a WireMock instance # including starting, stopping, and several ways to stub out calls. It is highly # recommended that you take the time to read the WireMock documentation and understand #the how the library works. # # This gem can be used to help you virtualize services for your tests. For example, if you # are unable to achieve effective test data management with the backend systems you can # use this gem (with WireMock) to simulate (or mock) the services while controlling the # data that is returned. # # ServiceMock also provides two built-in rake task that can be used to start and stop an # instance of WireMock. The rake task need to be executed on the machine that the server # will run - there is no ability for remote start and stop. # module ServiceMock def self.working_directory @working_directory ||= 'config/mocks' end def working_directory=(value) @working_directory = value end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
service_mock-0.5 | lib/service_mock.rb |