Registry / testing / stretchr-testify

stretchr-testify

JSON →
library1.11.1gogounverified

Testify is a set of packages that provide many tools for testifying that your code will behave as you intend.

go get github.com/stretchr/testify
INSTALL
IMPORT
SIG · STRETCHR-TESTIFY
S
stretchr-testify
testinggov1.11.1
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/stretchr/testify

Simple assertion in a test

package main import ( "testing" "github.com/stretchr/testify/assert" ) func TestSomething(t *testing.T) { assert.Equal(t, 1, 1, "they should be equal") }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
32 hits · last 30 days
node
30
Resources
stretchr-testify — go get stretchr-testify · libregistry