Testify VS logrus

Compare Testify vs logrus and see what are their differences.

Testify

A toolkit with common assertions and mocks that plays nicely with the standard library (by stretchr)

logrus

Structured, pluggable logging for Go. (by sirupsen)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
Testify logrus
64 32
21,981 24,012
1.5% -
8.6 3.0
1 day ago 24 days ago
Go Go
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

Testify

Posts with mentions or reviews of Testify. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-01.

logrus

Posts with mentions or reviews of logrus. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-06-02.

What are some alternatives?

When comparing Testify and logrus you can also consider the following projects:

ginkgo - A Modern Testing Framework for Go

zap - Blazing fast, structured, leveled logging in Go.

GoConvey - Go testing in the browser. Integrates with `go test`. Write behavioral tests in Go.

zerolog - Zero Allocation JSON Logger

gomega - Ginkgo's Preferred Matcher Library

glog - Leveled execution logs for Go

gomock - GoMock is a mocking framework for the Go programming language.

lumberjack - lumberjack is a log rolling package for Go

gotest.tools - A collection of packages to augment the go testing package and support common patterns.

slog

go-cmp - Package for comparing Go values in tests

log15 - Structured, composable logging for Go