github.com/stretchr/testify
Go Modulesvv1.12.1Go module: github.com/stretchr/testify
Not recommended for new projects
No — github.com/stretchr/testify should not be adopted for new projects. No license declared — you have no explicit right to use this code.
- BAdoption: grade B, Good.
Depended on by 248 known packages.
- AMaintenance: grade A, Excellent.
Last published 23 days ago. 6 releases in the last 2 years.
- AWeight: grade A, Excellent.
Pulls in 2 transitive packages.
- BSupply chain: grade B, Good.
This package lists no maintainer.
- FLicense: grade F, Failing.
No license declared — you have no explicit right to use this code.
Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.
Install cost
What you actually take on by adding github.com/stretchr/testify to a project.
Runtime packages this one declares itself.
Distinct packages in the full runtime tree, deduplicated the way a package manager would.
Longest resolved dependency chain below this package.
Compatibility
- Go
- No constraint declared
Dependencies
Declared by github.com/stretchr/testify vv1.12.1. Runtime dependencies are installed with the package; dev dependencies are not.
Used by
Popular packages that depend on github.com/stretchr/testify.
Go module: github.com/segmentio/kafka-go
Go module: github.com/minio/minio-go/v7
Go module: github.com/vektra/mockery/v2
Go module: github.com/hashicorp/go-hclog
Go module: github.com/bytedance/sonic
Go module: github.com/gin-contrib/sse
Go module: github.com/json-iterator/go
Go module: github.com/quic-go/quic-go
Go module: github.com/bytedance/sonic/loader
Go module: github.com/cloudwego/base64x
Go module: github.com/leodido/go-urn
Go module: github.com/quic-go/qpack
Go module: go.uber.org/mock
Go module: gopkg.in/ini.v1
Go module: dev.gaijin.team/go/exhaustruct/v4
Go module: dev.gaijin.team/go/golib
Go module: github.com/4meepo/tagalign
Go module: github.com/ashanbrown/forbidigo/v2
Go module: github.com/bombsimon/wsl/v5
Go module: github.com/butuzov/ireturn
Go module: github.com/ccojocar/zxcvbn-go
Go module: github.com/daixiang0/gci
Go module: github.com/denis-tingaikin/go-header
Go module: github.com/gin-gonic/gin
Relationship graph
Dependencies (left) and dependents (right) of github.com/stretchr/testify.
Frequently installed together
Go module: github.com/davecgh/go-spew
Go module: github.com/pmezard/go-difflib
Go module: "gopkg.in/yaml.v3"
Go module: golang.org/x/sys
Go module: golang.org/x/net
Go module: golang.org/x/text
Go module: github.com/cespare/xxhash/v2
Go module: google.golang.org/protobuf
Go module: github.com/google/go-cmp
Go module: go.opentelemetry.io/otel
Go module: go.uber.org/multierr
Go module: go.opentelemetry.io/otel/trace
Release history
5 releases in the last two years, typically about 74 days apart.
| Version | Published | License |
|---|---|---|
| v1.12.1latest | 23 days ago | — |
| v1.12.0 | 3 months ago | — |
| v1.2.3 | 3 months ago | — |
| v1.11.1 | 1 year ago | — |
| v1.11.0 | 1 year ago | — |
| v1.10.0 | 1 year ago | — |
| v1.9.0 | 2 years ago | — |
| v1.8.4 | 3 years ago | — |
| v1.8.3 | 3 years ago | — |
| v1.8.2 | 3 years ago | — |
| v1.8.1 | 3 years ago | — |
| v1.8.0 | 4 years ago | — |
| v1.7.5 | 4 years ago | — |
| v1.7.4 | 4 years ago | — |
| v1.7.3 | 4 years ago | — |
Overview
github.com/stretchr/testify is an Go Modules package that go module: github.com/stretchr/testify. It has 248 known dependents in the graph. The latest version is v1.12.1.
Who should use it
Teams working in the Go Modules ecosystem who need go module: github.com/stretchr/testify and value a focused solution.
When not to use it
Consider an alternative if you need to or if a more actively-maintained option better fits your Go Modules stack.
Pros
- Lean dependency tree (2 direct dependencies).
- Trusted by 248 other packages.
Cons
- No license detected — review usage terms before adopting.
Auto-generated from collected registry metadata. No external claims are inferred.
Frequently asked questions
Should I use github.com/stretchr/testify?
No — github.com/stretchr/testify should not be adopted for new projects. No license declared — you have no explicit right to use this code.
How do I install github.com/stretchr/testify?
Run `go get github.com/stretchr/testify` to add github.com/stretchr/testify to your Go Modules project.
How many dependencies does github.com/stretchr/testify have?
github.com/stretchr/testify declares 2 direct dependencies and pulls in 2 packages in total once its runtime tree is resolved.
What license is github.com/stretchr/testify released under?
No license was detected in github.com/stretchr/testify's metadata; review the repository before use.
How popular is github.com/stretchr/testify?
Go Modules does not publish download counts. Within PackageGraph's crawl, 248 known packages depend on github.com/stretchr/testify.
Is github.com/stretchr/testify still maintained?
The most recent release of github.com/stretchr/testify (vv1.12.1) was published 23 days ago.