Registry / testing / onsi-ginkgo

onsi-ginkgo

JSON →
library1.16.5gogounverified

BDD-style testing framework for Golang.

go get github.com/onsi/ginkgo
INSTALL
IMPORT
SIG · ONSI-GINKGO
O
onsi-ginkgo
testinggov1.16.5
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.

ginkgo
github.com/onsi/ginkgo

Sets up a BDD test suite with Ginkgo.

package main import ( "testing" "github.com/onsi/ginkgo" "github.com/onsi/gomega" ) func TestSuite(t *testing.T) { ginkgo.RunSpecs(t, "Suite") } var _ = ginkgo.Describe("Example", func() { ginkgo.It("should pass", func() { gomega.Expect(true).To(gomega.BeTrue()) }) })
Debug
Known issues
breakingGinkgo v2 is a major rewrite with breaking changes; v1.x is deprecated.
fix
Upgrade to v2 (github.com/onsi/ginkgo/v2) for new projects.
affects: >=1.0.0 <2.0.0
Upgrade
Version history
1.16.5latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
onsi-ginkgo — go get onsi-ginkgo · libregistry