Sha256: a733abc253b840b5d6ba1004a5bdc2883a660837b70b8e0e95d99cbf86ef8165
Contents?: true
Size: 946 Bytes
Versions: 27
Compression:
Stored size: 946 Bytes
Contents
The cucumber features provided here demonstrate all of the major features of VCR. These features are executable documentation for VCR. Many of the examples use one (or both) of these helper functions provided by `vcr_cucumber_helpers.rb`: * `start_sinatra_app`: starts a sinatra application on the given port. The server automatically shuts down when the ruby script ends. Many examples re-run the script without the sinatra server to demonstrate the replaying of a recorded HTTP response. * `include_http_adapter_for`: includes a module that implements a common HTTP interface for the given HTTP library. The `response_body_for` method will make an HTTP request using the given library. This allows scenarios to be run against each different supported HTTP library. If you have ideas to clarify or improve any of these cucumber features, please submit an [issue](https://github.com/myronmarston/vcr/issues) or pull request.
Version data entries
27 entries across 27 versions & 1 rubygems