package
github.com/stretchr/testify/require
third-party31 third-party functions from github.com/stretchr/testify/require, ranked by how often they are called outside tests and generated code.
- prod calls
- 32,259
- non-test, non-generated
- all calls
- 720,671
- total callsites
- functions
- 31
- 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 | 12,522 |
| Assertions.NoError | 5,266 |
| Assertions.Equal | 4,487 |
| Equal | 1,653 |
| Assertions.NotNil | 958 |
| Assertions.Nil | 798 |
| NotNil | 682 |
| New | 632 |
| True | 612 |
| Len | 454 |
| EventuallyWithT | 421 |
| Error | 397 |
| Assertions.True | 374 |
| Contains | 294 |
| Assertions.Error | 285 |
| Nil | 284 |
| NotEmpty | 275 |
| Assertions.Len | 267 |
| Fail | 213 |
| Assertions.NotEmpty | 166 |
| Assertions.IsType | 159 |
| ErrorContains | 151 |
| Empty | 139 |
| ErrorIs | 120 |
| Assertions.EqualValues | 120 |
| JSONEq | 103 |
| Assertions.Empty | 101 |
| Eventually | 95 |
| Assertions.False | 83 |
| False | 79 |
| Failf | 69 |