Alternative review

go-sqlmock alternatives

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

27

Why review alternatives

go-sqlmock currently has a maintenance score of 27/100.

Latest repository activity: 2 years ago.

Known Go vulnerability records: 0.

Current package

go-sqlmock

Package sqlmock is a mock library implementing sql driver.

Go Testing Libraries 0 stars 761 imported-by 80% confidence
58

Ranked Alternatives

Go Testing Libraries

#1 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

#2 moq

Interface mocking tool for go generate

Go Testing Libraries 0 stars 4 imported-by 80% confidence
63

#3 toxiproxy

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

Go Testing Libraries 0 stars 30 imported-by 45% confidence
56

#4 jsonassert

Package jsonassert is a Go test assertion library for verifying that two representations of JSON are semantically equal.

Go Testing Libraries 0 stars 11 imported-by 45% confidence
54

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.