10

8

6

4

2


9.3

6.0

8.9

2.6

8.4

5.1

7.7

3.3

7.6

4.3

6.9

3.2

16 Mock packages and projects

  • gomock

    9.3 6.0 Go
    Mocking framework for the Go programming language.
  • go-sqlmock

    8.9 2.6 Go
    Mock SQL driver for testing database interactions
  • 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
  • hoverfly

    8.4 5.1 Go
    HTTP(S) proxy for recording and simulating REST/SOAP APIs with extensible middleware and easy-to-use CLI.
  • gock

    7.7 3.3 Go
    Versatile HTTP mocking made easy.
  • httpmock

    7.6 4.3 Go
    Easy mocking of HTTP responses from external resources.
  • Mmock

    6.9 3.2 Go
    Mmock is an HTTP mocking application for testing and fast prototyping
  • counterfeiter

    6.9 5.0 Go
    Tool for generating self-contained mock objects
  • minimock

    6.2 0.4 Go
    Mock generator for Go interfaces
  • go-txdb

    6.1 1.7 Go
    Single transaction based database driver mainly for testing purposes.
  • timex

    5.6 0.9 Go
    A test-friendly replacement for the native time package.
  • govcr

    4.3 0.0 Go
    HTTP mock for Golang: record and replay HTTP interactions for offline testing
  • mockhttp

    2.2 0.0 Go
    Mock object for Go http.ResponseWriter
  • MockItOut

    1.5 2.6 Go
    A language agnostic HTTP mock server for quick stub testing
  • go-localstack

    0.9 8.1 Go
    Tool for using localstack in AWS testing.
  • mockit

    0.8 5.5 Go
    Allows functions and method easy mocking, without defining new types; it's similar to Mockito for Java.
  • webmock

    0.2 4.6 Go
    Webmock for Golang, to stub requests.

Add another 'Mock' Package