Registry / testing / stretchrcom-testify

stretchrcom-testify

JSON →
library1.11.1gogounverified

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

go get github.com/stretchrcom/testify
INSTALL
IMPORT
SIG · STRETCHRCOM-TESTIF
S
stretchrcom-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/stretchrcom/testify

Uses testify's assert package to check equality in a test.

package main import ( "testing" "github.com/stretchrcom/testify/assert" ) func TestSomething(t *testing.T) { assert.Equal(t, 1, 1, "they should be equal") }
Debug
Known issues
breakingBreaking changes in v2: removed deprecated functions and changed some interfaces.
fix
Check the v2 migration guide if upgrading from v1.
affects: >=2.0.0
Upgrade
Version history
1.11.1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
stretchrcom-testify — go get stretchrcom-testify · libregistry