Programming language: Go
License: MIT License
mockhttp alternatives and similar packages
Based on the "Mock" category.
Alternatively, view mockhttp alternatives based on common mentions on social networks and blogs.
gomock9.5 3.7 mockhttp VS gomockGoMock is a mocking framework for the Go programming language.
go-sqlmock9.1 2.1 mockhttp VS go-sqlmockSql mock driver for golang to test database interactions
mockery9.0 8.1 mockhttp VS mockeryA mock code autogenerator for Golang
hoverfly8.3 6.5 mockhttp VS hoverflyLightweight service virtualization/ API simulation / API mocking tool for developers and testers
gock8.0 1.0 mockhttp VS gockHTTP traffic mocking and testing made easy in Go ༼ʘ̚ل͜ʘ̚༽
httpmock7.9 4.4 mockhttp VS httpmockHTTP mocking for Golang
counterfeiter7.1 4.1 mockhttp VS counterfeiterA tool for generating self-contained, type-safe test doubles in go
Mmock7.0 0.0 mockhttp VS MmockMmock is an HTTP mocking application for testing and fast prototyping
go-txdb6.5 0.0 mockhttp VS go-txdbImmutable transaction isolated sql driver for golang
minimock6.4 0.0 mockhttp VS minimockPowerful mock generation tool for Go programming language
timex5.6 0.8 mockhttp VS timexA test-friendly replacement for golang's time package
govcr4.7 0.0 mockhttp VS govcrHTTP mock for Golang: record and replay HTTP/HTTPS interactions for offline testing
smtpmock3.9 4.2 mockhttp VS smtpmockSMTP mock server written on Golang. Mimic any 📤 SMTP server behavior for your test environment with fake SMTP server.
go-localstack3.5 0.0 mockhttp VS go-localstackGo Wrapper for using localstack
MockItOut1.6 0.0 mockhttp VS MockItOutA language agnostic HTTP mock server for quick stub testing
mockit1.4 5.6 mockhttp VS mockitLibrary that make mocking of Go functions/methods easy
mooncake1.2 10.0 mockhttp VS mooncake:moon_cake: A simple way to generate mocks for multiple purposes
webmock0.4 2.7 mockhttp VS webmockWebmock for Golang, to stub requests.
mockserver0.4 4.3 mockhttp VS mockserverSuper slim & blazing fast mock server to replace the Java/NPM counterpart mockserver
genmockGo mocking system with code generator for building calls of the interface methods.
Go monkeypatching 🐵 🐒Monkey patching in Go
Access the most powerful time series database as a service
Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.
Do you think we are missing an alternative of mockhttp or a related project?
mockhttp -- Go package for unit testing HTTP serving
Unit testing HTTP services written in Go means you need to call their
ServeHTTP receiver. For this, you need something that fulfills the
http.ResponseWriter interface, and you need to populate a
http.Request struct with suitable-looking data.
helps you do these tasks, without excessive copy-pasting.
mockhttp_test.go for an example of usage.