Go package comparison

mockery vs go-sqlmock

Compare two Go packages using the same scoring model: maintenance, adoption, security, maturity, developer experience, and data confidence.

Quick Decision

mockery currently leads this comparison by the weighted health model.

95

mockery

A mock code autogenerator for Go

95
Maintenance 95
Adoption 100
Security 92
Maturity 100
Developer DX 81
Confidence 100

go-sqlmock

Package sqlmock is a mock library implementing sql driver.

79
Maintenance 38
Adoption 100
Security 92
Maturity 100
Developer DX 91
Confidence 100

Metric Table

side by side
Metric mockery go-sqlmock Lead
Health 95 79 mockery
Maintenance 95 38 mockery
Adoption 100 100 Tie
Security 92 92 Tie
Maturity 100 100 Tie
Imported by8761go-sqlmock
Stars7.1K6.6Kmockery
Last activity28 days ago1 years agoReview dates
Known vuln records00Tie

Choose mockery if

You prefer its current score profile and the package fits your framework or API style.

Its maintenance, adoption, and security signals match your project risk tolerance.

Choose go-sqlmock if

You prefer its current score profile and the package fits your framework or API style.

Its maintenance, adoption, and security signals match your project risk tolerance.