Added Add, Or, Not, WithTransform matchers, for composability.
- Allows matchers to be composed into complex expressions that work even with the Eventually() assertion.
- Also makes it easy to create new matchers -- can often write a function that composes a new matcher out of existing ones.
9 files changed
tree: ae5ff81ea67f02ea38867f270ef50af4430967e2
  1. format/
  2. gbytes/
  3. gexec/
  4. ghttp/
  5. internal/
  6. matchers/
  7. types/
  8. .gitignore
  9. .travis.yml
  10. CHANGELOG.md
  11. gomega_dsl.go
  12. LICENSE
  13. matchers.go
  14. README.md
README.md

Gomega: Ginkgo's Preferred Matcher Library

Build Status

Jump straight to the docs to learn about Gomega, including a list of all available matchers.

To discuss Gomega and get updates, join the google group.

Ginkgo: a BDD Testing Framework for Golang

Learn more about Ginkgo here

License

Gomega is MIT-Licensed

The ConsistOf matcher uses goraph which is embedded in the source to simplify distribution. goraph has an MIT license.