Skip to content
Back to search

gomega

MarketplaceWorks with Claude CodeGitHub

Ginkgo's Preferred Matcher Library

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/onsi--gomega/badge.svg)](/listings/onsi--gomega)

HTML

<a href="/listings/onsi--gomega"><img src="/api/listings/onsi--gomega/badge.svg" alt="findsafeskills safety rating" /></a>

Install

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

.claude-plugin/marketplace.json · Manifest · 18 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

  1. {
  2. "name": "gomega",
  3. "owner": {
  4. "name": "Onsi Fakhouri",
  5. "url": "https://github.com/onsi"
  6. },
  7. "metadata": {
  8. "description": "Skills for writing expressive, correct assertions with Gomega — the matcher/assertion library for Go, best paired with Ginkgo.",
  9. "homepage": "https://onsi.github.io/gomega/"
  10. },
  11. "plugins": [
  12. {
  13. "name": "gomega",
  14. "source": "./plugins/gomega",
  15. "description": "Write better Gomega assertions: the Expect/Eventually model, the full matcher catalog, composing and writing custom matchers, and the gstruct/ghttp/gexec/gbytes/gleak/gmeasure sub-libraries."
  16. }
  17. ]
  18. }
README.md · README · 37 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

  1. <picture>
  2. <source media="(prefers-color-scheme: dark)" srcset="docs/images/gomega-dark.png">
  3. <img alt="Gomega: Ginkgo's Preferred Matcher Library" src="docs/images/gomega.png">
  4. </picture>
  5. [![test](https://github.com/onsi/gomega/actions/workflows/test.yml/badge.svg?branch=master)](https://github.com/onsi/gomega/actions/workflows/test.yml?query=branch%3Amaster) [![Gomega Docs](docs/images/docs-badge.svg)](https://onsi.github.io/gomega/) [![Sponsor onsi](docs/images/sponsor-badge.svg)](https://github.com/sponsors/onsi)
  6. Jump straight to the [docs](http://onsi.github.io/gomega/) to learn about Gomega, including a list of [all available matchers](http://onsi.github.io/gomega/#provided-matchers).
  7. If you have a question, comment, bug report, feature request, etc. please open a GitHub issue.
  8. ## Using Gomega with Claude Code
  9. Gomega ships a set of [Claude Code](https://claude.com/claude-code) skills as a **plugin**, so an agent writing assertions in *your* suite has Gomega's idioms — the full matcher catalog, `Eventually`/`Consistently`, and the `gstruct`/`ghttp`/`gexec`/`gbytes`/`gleak`/`gmeasure` sub-libraries — on hand. The Gomega repo doubles as the plugin marketplace, so installation is two commands. From inside Claude Code:
  10. ```
  11. /plugin marketplace add onsi/gomega
  12. /plugin install gomega@gomega
  13. ```
  14. (or non-interactively: `claude plugin marketplace add onsi/gomega` then `claude plugin install gomega@gomega`)
  15. This installs a family of `gomega:*` skills that activate automatically while you write tests. See the [docs](http://onsi.github.io/gomega/#using-gomega-with-claude-code) for the full list.
  16. ## [Ginkgo](http://github.com/onsi/ginkgo): a BDD Testing Framework for Golang
  17. Learn more about Ginkgo [here](http://onsi.github.io/ginkgo/)
  18. ## Community Matchers
  19. A collection of community matchers is available on the [wiki](https://github.com/onsi/gomega/wiki).
  20. ## License
  21. Gomega is MIT-Licensed
  22. The `ConsistOf` matcher uses [goraph](https://github.com/amitkgupta/goraph) which is embedded in the source to simplify distribution. goraph has an MIT license.

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.