Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →
Httpmock Alternatives
Similar projects and alternatives to httpmock
-
-
hoverfly
Lightweight service virtualization/ API simulation / API mocking tool for developers and testers
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
gomock
Discontinued GoMock is a mocking framework for the Go programming language. (by golang)
-
mockit
Discontinued Library that make mocking of Go functions/methods easy (by pasdam)
-
-
go-vcr
Record and replay your HTTP interactions for fast, deterministic and accurate tests
-
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
-
-
Testify
A toolkit with common assertions and mocks that plays nicely with the standard library
-
-
testcontainers-go
Testcontainers for Go is a Go package that makes it simple to create and clean up container-based dependencies for automated integration/smoke tests. The clean, easy-to-use API enables developers to programmatically define containers that should be run as part of a test and clean up those resources when the test is done.
-
testfixtures
Ruby on Rails like test fixtures for Go. Write tests against a real database
-
phiremock-server
Phiremock Server allows to define responses for http requests on the fly through a REST API. Useful to mock external http services during development and acceptance testing.
-
timex
A test-friendly replacement for golang's time package [managed by soy-programador] (by cabify)
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
httpmock reviews and mentions
- [Rant] Sa Isi Bage Microserviciile in C*R
-
Integration tests with Go and testcontainers
We will use httpmock for this purpose. Inside function setupSuite(), where we created useCase and provided nil as a billingClient now we will pass mocked http client:
-
best way to mock/unit test http.Client?
To mock an API: https://github.com/jarcoal/httpmock to use when your code calls external APIs so you don't want your tests call the real API. No need to create an interface as you do.
-
A note from our sponsor - InfluxDB
www.influxdata.com | 19 Mar 2024
Stats
jarcoal/httpmock is an open source project licensed under MIT License which is an OSI approved license.
The primary programming language of httpmock is Go.