Registry / testing / franela-goblin

franela-goblin

JSON →
library0.0.0-20211003143422-0a4f594942bfgogounverified

Package goblin is a minimal and expressive testing framework for Go.

go get github.com/franela/goblin
INSTALL
IMPORT
SIG · FRANELA-GOBLIN
F
franela-goblin
testinggov0.0.0-20211003143422-0a4f594942bf
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.

goblin
github.com/franela/goblin

Write a simple test using Goblin's BDD-style assertions.

package main import ( "testing" "github.com/franela/goblin" ) func TestSomething(t *testing.T) { g := goblin.Goblin(t) g.Describe("Numbers", func() { g.It("should add", func() { g.Assert(1+1).Equal(2) }) }) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20211003143422-0a4f594942bflatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
franela-goblin — go get franela-goblin · libregistry