Popularity
2.2
Declining
Activity
0.0
Stable
22
1
5
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
HTTP(S) proxy for recording and simulating REST/SOAP APIs with extensible middleware and easy-to-use CLI. -
mockit
Allows functions and method easy mocking, without defining new types; it's similar to Mockito for Java.
Get performance insights in less than 4 minutes
Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.
Sponsored
scoutapm.com
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.