Skip to content
callcount

package

github.com/stretchr/testify/require

third-party

32 third-party functions from github.com/stretchr/testify/require, ranked by how often they are called outside tests and generated code.

Docs on pkg.go.dev ↗

prod calls
35,885
non-test, non-generated
all calls
843,431
total callsites
functions
32
ranked in this snapshot
origin
ext
third-party

members

Functions in github.com/stretchr/testify/require

Ranked by production calls. The bar scales each function against the busiest in this package.

Function Prod calls
NoError 14,613
Assertions.NoError 5,438
Assertions.Equal 4,622
Equal 1,910
Assertions.NotNil 983
Assertions.Nil 792
NotNil 724
EventuallyWithT 708
True 655
New 643
Len 534
Error 466
Assertions.True 369
NotEmpty 314
Contains 312
Assertions.Error 297
Fail 297
Assertions.Len 293
Nil 277
Assertions.NotEmpty 172
ErrorContains 165
Assertions.IsType 159
Empty 155
Eventually 155
ErrorIs 154
Assertions.EqualValues 120
JSONEq 108
Assertions.Empty 104
False 100
Assertions.False 87
FailNow 83
Failf 76