Registry / testing / nickwells-testhelper-mod-v2

nickwells-testhelper-mod-v2

JSON →
library2.5.0gogounverified

A Go module providing helper functions for writing tests, including assertions and test utilities.

go get github.com/nickwells/testhelper.mod/v2
INSTALL
IMPORT
SIG · NICKWELLS-TESTHELP
N
nickwells-testhelper-mod-v2
testinggov2.5.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.

testhelper
github.com/nickwells/testhelper.mod/v2

Minimal example using the Equal assertion in a test.

package main import ( "testing" "github.com/nickwells/testhelper.mod/v2" ) func TestExample(t *testing.T) { testhelper.Equal(t, 1+1, 2, "addition should work") }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
nickwells-testhelper-mod-v2 — go get nickwells-testhelper-mod-v2 · libregistry