Registry / testing / chzyer-test

chzyer-test

JSON →
library1.0.0gogounverified

A minimal testing helper library for Go with concise assertions.

go get github.com/chzyer/test
INSTALL
IMPORT
SIG · CHZYER-TEST
C
chzyer-test
testinggov1.0.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.

test
github.com/chzyer/test

Use test.Assert in a test function

package main import ( "testing" "github.com/chzyer/test" ) func TestExample(t *testing.T) { test.Assert(t, 1+1 == 2) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
17 hits · last 30 days
node
6
OpenAI (training)
1
Resources
chzyer-test — go get chzyer-test · libregistry