counterfeiter VS gock

Compare counterfeiter vs gock and see what are their differences.

counterfeiter

A tool for generating self-contained, type-safe test doubles in go (by maxbrunsfeld)

gock

HTTP traffic mocking and testing made easy in Go ༼ʘ̚ل͜ʘ̚༽ (by h2non)
Our great sponsors
  • Scout APM - Less time debugging, more time building
  • SonarQube - Static code analysis for 29 languages.
  • SaaSHub - Software Alternatives and Reviews
counterfeiter gock
5 7
660 1,625
- -
5.5 3.8
about 2 months ago about 2 months ago
Go Go
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

counterfeiter

Posts with mentions or reviews of counterfeiter. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-03-18.

gock

Posts with mentions or reviews of gock. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-01-28.

What are some alternatives?

When comparing counterfeiter and gock you can also consider the following projects:

gomock - GoMock is a mocking framework for the Go programming language.

httpmock - HTTP mocking for Golang

govcr - HTTP mock for Golang: record and replay HTTP/HTTPS interactions for offline testing

httpexpect - End-to-end HTTP and REST API testing for Go.

go-sqlmock - Sql mock driver for golang to test database interactions

mockery - A mock code autogenerator for Golang

go-txdb - Immutable transaction isolated sql driver for golang

go-localstack - Go Wrapper for using localstack

Mmock - Mmock is an HTTP mocking application for testing and fast prototyping

prettybenchcmp - cmd tool for automatic storage and comparison of benchmarks results

hoverfly - Lightweight service virtualization/API simulation tool for developers and testers