onsi/gomega
Ginkgo's Preferred Matcher Library observed · 2026-08-28
Health v2 · maintenance only
96/100
- Activity 99
- Release rhythm 90
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 22.5
- age_days: 4758
- days_rel: 71
- days_push: 8
- n_releases_24m: 17
Adoption not part of the score
2352 stars · 305 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Gomega is a matcher/assertion library for Go, best paired with the Ginkgo BDD test framework but usable with standard Go tests. It provides a rich catalog of matchers plus async helpers like Eventually/Consistently and sub-libraries such as gstruct, ghttp, gexec, gbytes, gleak, and gmeasure.
Use cases
- write expressive assertions in Go tests
- use BDD-style matchers with Ginkgo
- assert on asynchronous behavior with Eventually
- test HTTP handlers with ghttp
- detect goroutine leaks in tests
- measure code performance in test suites
When to choose
- you use Ginkgo or want idiomatic, readable assertions in Go
- you need asynchronous or polling assertions
- you want structured matchers for JSON/maps with gstruct
When to avoid
- you prefer plain testify or stdlib testing assertions
- your project is not written in Go
Facets
library · maturity stable
testing e2e-testing testing developer-tools go cross-platform assertion-library matcher-library bdd ginkgo unit-testing async-assertions
2 sources
- readme: https://github.com/onsi/gomega · fetched 2026-08-28 · bbabf54c5b68
- homepage: http://onsi.github.io/gomega/ · fetched 2026-08-29 · ea6d199db5fe
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| onsi/gomega | main | 96 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem