Alternative review

gock alternatives

Packages below are ranked as alternatives in the same category. The trigger for this review is limited recent repository activity.

38

Why review alternatives

gock currently has a maintenance score of 38/100.

Latest repository activity: 1 years ago.

Known Go vulnerability records: 0.

Current package

gock

HTTP traffic mocking and testing made easy in Go ༼ʘ̚ل͜ʘ̚༽

Go Testing Libraries 2.2K stars 65 imported-by 95% confidence
80

Ranked Alternatives

Go Testing Libraries

#1 Gomega

Gomega is the Ginkgo BDD-style testing framework's preferred matcher library.

Go Testing Libraries 2.3K stars 11.8K imported-by 100% confidence
96

#2 mockery

A mock code autogenerator for Go

Go Testing Libraries 7.1K stars 8 imported-by 100% confidence
95

#3 Testify

Module testify is a set of packages that provide many tools for testifying that your code will behave as you intend.

Go Testing Libraries 26.0K stars 15 imported-by 100% confidence
95

#4 toxiproxy

:alarm_clock: :fire: A TCP proxy to simulate network and system conditions for chaos and resiliency testing

Go Testing Libraries 12.1K stars 30 imported-by 100% confidence
93

#5 moq

Interface mocking tool for go generate

Go Testing Libraries 2.2K stars 4 imported-by 100% confidence
89

#6 keploy

Open-source platform for creating safe, isolated production sandboxes for API, integration, and E2E testing.

Go Testing Libraries 17.5K stars 0 imported-by 45% confidence
86

How to use this page

Treat alternatives as a shortlist. Check API compatibility, migration effort, project constraints, and your own threat model before replacing a dependency.