Registry / testing / onsi-gomega

onsi-gomega

JSON →
library1.41.0gogounverified

Gomega is the Ginkgo BDD-style testing framework's preferred matcher library.

go get github.com/onsi/gomega
INSTALL
IMPORT
SIG · ONSI-GOMEGA
O
onsi-gomega
testinggov1.41.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

gomega
github.com/onsi/gomega

Use Gomega matchers in a test

package main import ( "testing" . "github.com/onsi/gomega" ) func TestExample(t *testing.T) { g := NewWithT(t) g.Expect("hello").To(Equal("hello")) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.41.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
onsi-gomega — go get onsi-gomega · libregistry