Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 3.0% on proxy.golang.org
Top 1.2% dependent packages on proxy.golang.org
Top 1.3% dependent repos on proxy.golang.org
Top 5.6% forks on proxy.golang.org

proxy.golang.org : github.com/seborama/govcr

Package govcr records and replays HTTP interactions for offline unit / behavioural / integration tests thereby acting as an HTTP mock. This project was inspired by php-vcr which is a PHP port of VCR for ruby. For usage and more information, please refer to the project's README at: https://github.com/seborama/govcr Example_simpleVCR is an example use of govcr. It shows how to use govcr in the simplest case when the default http.Client suffices. Example2 is an example use of govcr. It shows the use of a VCR with a custom Client. Here, the app executes a GET request. Example_simpleVCR is an example use of govcr. It shows how to use govcr in the simplest case when the default http.Client suffices. Example_simpleVCR is an example use of govcr. It shows a simple use of a Long Play cassette (i.e. compressed). Example_simpleVCR is an example use of govcr. It shows how to use govcr in the simplest case when the default http.Client suffices. Example_number7BodyInjection will show how bodies can be rewritten. We will take a varying ID from the request URL, neutralize it and also change the ID in the body of the response.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/seborama/govcr
Keywords: api-simulation, go, go-vcr, golang, http, https, integration-testing, mock, playback, proxy, service-virtualization, testing-tool, testing-tools, vcr, vcr-go
License: Apache-2.0
Latest release: about 5 years ago
First release: almost 8 years ago
Namespace: github.com/seborama
Dependent packages: 17
Dependent repositories: 17
Stars: 142 on GitHub
Forks: 14 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: about 22 hours ago

    Loading...
    Readme
    Loading...