Registry / testing / approvals-go-approval-tests

approvals-go-approval-tests

JSON →
library1.10.0gogounverified

Approval Tests for Go allows easy testing of larger objects by saving them to files for visual comparison.

go get github.com/approvals/go-approval-tests
INSTALL
IMPORT
SIG · APPROVALS-GO-APPRO
A
approvals-go-approval-tests
testinggov1.10.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.

approvals
github.com/approvals/go-approval-tests

Verifies a string against an approved file.

package main import ( "testing" "github.com/approvals/go-approval-tests" ) func TestSomething(t *testing.T) { approvals.VerifyString(t, "Hello World") }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
27 hits · last 30 days
node
25
OpenAI (training)
1
Resources
approvals-go-approval-tests — go get approvals-go-approval-tests · libregistry