Popularity
2.0
Stable
Activity
0.0
Stable
23
2
6
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.
-
hoverfly
Lightweight service virtualization/ API simulation / API mocking tool for developers and testers -
smtpmock
SMTP mock server written on Golang. Mimic any 📤 SMTP server behavior for your test environment with fake SMTP server. -
monkey
One line to mock functions/methods/variables in place without dependency injection or code generation
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
Promo
coderabbit.ai
Do you think we are missing an alternative of mockhttp or a related project?
Popular Comparisons
README
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. mockhttp.go
helps you do these tasks, without excessive copy-pasting.
See mockhttp_test.go
for an example of usage.