Go package comparison

Testify vs mockery

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

Quick Decision

The current weighted model does not produce a clear winner.

Testify

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

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

mockery

A mock code autogenerator for Go

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

Metric Table

side by side
Metric Testify mockery Lead
Health 95 95 Tie
Maintenance 95 95 Tie
Adoption 100 100 Tie
Security 92 92 Tie
Maturity 100 100 Tie
Imported by158Testify
Stars26.0K7.1KTestify
Last activity10 days ago27 days agoReview dates
Known vuln records00Tie

Choose Testify 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 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.