github.com/seborama/govcr (go): 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.
Keywords: api-simulation|go|go-vcr|golang|http|https|integration-testing|mock|playback|proxy|service-virtualization|testing-tool|testing-tools|vcr|vcr-go