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,413
- non-test, non-generated
- all calls
- 732,474
- 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,593 |
| Assertions.NoError | 5,266 |
| Assertions.Equal | 4,487 |
| Equal | 1,701 |
| Assertions.NotNil | 958 |
| Assertions.Nil | 798 |
| NotNil | 681 |
| New | 632 |
| True | 615 |
| Len | 464 |
| EventuallyWithT | 425 |
| Error | 398 |
| Assertions.True | 374 |
| Contains | 298 |
| Assertions.Error | 285 |
| Nil | 283 |
| NotEmpty | 277 |
| Assertions.Len | 267 |
| Fail | 213 |
| Assertions.NotEmpty | 166 |
| Assertions.IsType | 159 |
| ErrorContains | 151 |
| Empty | 140 |
| ErrorIs | 129 |
| Assertions.EqualValues | 120 |
| JSONEq | 103 |
| Assertions.Empty | 101 |
| Eventually | 95 |
| Assertions.False | 83 |
| False | 82 |
| Failf | 69 |