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.
mockery
A mock code autogenerator for Go
go-sqlmock
Package sqlmock is a mock library implementing sql driver.
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 by | 8 | 761 | go-sqlmock |
| Stars | 7.1K | 6.6K | mockery |
| Last activity | 28 days ago | 1 years ago | Review dates |
| Known vuln records | 0 | 0 | Tie |
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.