mockhttp

HTTP mock

Provides an HTTP mock object for unit testing Go web applications

Mock object for Go http.ResponseWriter

GitHub

23 stars
2 watching
6 forks
Language: Go
last commit: about 10 years ago
Linked from 2 awesome lists


Backlinks from these awesome lists:

Related projects:

Repository Description Stars
internations/http-mock Allows mocking of HTTP requests in unit tests to enable integration testing with the HTTP side. 391
mocktools/go-smtp-mock A configurable, multithreaded SMTP mock server written in Go 128
touk/http-mock-server A tool that allows developers to mock HTTP requests and responses for testing purposes. 9
gabrielfalcao/httpretty Intercepts and mocks HTTP requests at the Python socket level 2,108
h2non/gock Tools for mocking and testing HTTP traffic in Go 2,102
xnbox/deepfakehttp A web server that generates mock responses based on HTTP dumps. 513
maxkagamine/moq.contrib.httpclient A set of extension methods for mocking HTTP client requests and responses with Moq. 188
driftrock/mockingbird Assists with creating testable HTTP clients by providing an alternative implementation of HTTP requests 3
dhall-mock/dhall-mock A tool to generate and manage mock HTTP responses for testing and development purposes using a configuration file written in the Dhall programming language. 21
patrys/httmock A mocking library for HTTP requests in Python 468
richardszalay/mockhttp A testing layer for the HttpClient library that allows stubbed responses to be configured using a fluent API 1,626
szkiba/xk6-mock Enables mocking HTTP servers during test development in k6 tests 14
seborama/govcr An HTTP mock tool that records and replays interactions for offline testing of Go applications. 174
friendsofgo/killgrave A tool to create and manage mock servers with customizable responses 522
mockyabstract/mocky An online service that allows users to generate custom HTTP responses for testing and development purposes. 2,056