InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now. Learn more →
Gock Alternatives
Similar projects and alternatives to gock
-
-
InfluxDB
InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
-
drone
Discontinued Gitness is an Open Source developer platform with Source Control management, Continuous Integration and Continuous Delivery. [Moved to: https://github.com/harness/gitness]
-
-
-
-
-
hoverfly
Lightweight service virtualization/ API simulation / API mocking tool for developers and testers
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
-
azure-sdk-for-rust
This repository is for the active development of the Azure SDK for Rust. For consumers of the SDK we recommend visiting Docs.rs and looking up the docs for any of libraries in the SDK.
-
-
-
-
-
apitest
A simple and extensible behavioural testing library for Go. You can use api test to simplify REST API, HTTP handler and e2e tests.
-
-
-
gstreamer-rs
GStreamer bindings for Rust - This repository moved to https://gitlab.freedesktop.org/gstreamer/gstreamer-rs
-
-
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
gock discussion
gock reviews and mentions
-
The best way for testing outbound API calls
Another great option is gock, a lib that is also inspired by nock, with a simple and easy API. It works by intercepting any HTTP request made by any http.Client and adding it to a list, so it can check if a mock request exists. If not, an error is returned, unless the real networking mode is on. In that case, the request is done normally.
- Testando chamadas para APIs da melhor forma
-
Testing calls to external APIs
Mocking the http client with explicit responses; for example using h2non/gock
- What features would you consider missing/nice to haves for backend web development in Rust?
-
Mock HTTP response
Check out gock.
- API Mock Testing Frameworks
-
Testing methods with HTTP calls?
h2non/gock and
-
Go Package for Mocking HTTP Traffic: github.com/h2non/gock
Last time I covered testing in Go I mentioned a package used for testing equality called github.com/google/go-cmp, this time I will share with you a way to mock HTTP traffic using the package github.com/h2non/gock.
-
HTTP mocking
If you need a good library for mocking http servers https://github.com/h2non/gock does a great job.
-
best way to mock/unit test http.Client?
github.com/h2non/gock
-
A note from our sponsor - InfluxDB
www.influxdata.com | 12 May 2025
Stats
h2non/gock is an open source project licensed under MIT License which is an OSI approved license.
The primary programming language of gock is Go.