Registry / testing / test-go-testify

test-go-testify

JSON →
library1.1.4gogounverified

Provides assertion, mocking, and suite functionality for Go tests.

go get github.com/test-go/testify
INSTALL
IMPORT
SIG · TEST-GO-TESTIFY
T
test-go-testify
testinggov1.1.4
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.

testify
github.com/test-go/testify

Uses the assert package to check equality in a test.

package main import ( "testing" "github.com/test-go/testify/assert" ) func TestSomething(t *testing.T) { assert.Equal(t, 1, 1, "they should be equal") }
Debug
Known issues
gotchaThis is a fork of stretchr/testify; ensure you use the correct import path for your project.
fix
Use github.com/stretchr/testify if you need the original library.
affects: *
Upgrade
Version history
1.1.4latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
test-go-testify — go get test-go-testify · libregistry