ErrLookup › stretchr/testify
stretchr/testify
A toolkit with common assertions and mocks that plays nicely with the standard library · Go · 40 source files
Analyzed at 001eb7946b on 2026-08-04. 22 documented errors.
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| assert: arguments: Bool | panic | error | testify, mock, type-assertion, panic, go |
| 'Require' must not be called before 'Run' or 'SetT' | panic | error | testify, suite, lifecycle, panic, go |
| 'Assert' must not be called before 'Run' or 'SetT' | panic | error | testify, suite, lifecycle, panic, go |
| cannot take func type as argument | validation | error | assertion, reflection, func-type, equal |
| test failed and t is missing `FailNow()` | panic | error | testing-interface, panic, failnow, require, backwards-compat |
| YAML functions are not available (see… | validation | info | yaml, build-tags, configuration, optional-dependency |
| cannot use Func in expectations. Use… | panic | error | mock, panic, unset, func-argument |
| Parameters must be numerical | validation | error | assertion, numeric, in-epsilon, type-coercion |
| not before calls must be created with Mock.On() | panic | error | mock, panic, notbefore, ordering, call-construction |
| assert: arguments: String | panic | error | mock, panic, arguments, type-assertion, string |
| assert: arguments: Error | panic | error | mock, panic, arguments, type-assertion, error |
| assert: arguments: Cannot call Get | panic | error | mock, panic, arguments, index-out-of-range |
| expected value must have a value other than zero to… | validation | error | assertion, numeric, division-by-zero, in-epsilon |
| Reset() is deprecated | panic | error | deprecated, collectt, panic, api-removal |
| expected value must not be NaN | validation | error | assertion, numeric, nan, in-epsilon |
| Copy() is deprecated | panic | error | deprecated, collectt, panic, api-removal |
| assert: arguments: Wrong number of arguments passed to… | panic | error | mock, panic, arguments, arity, string |
| assert: arguments: does not take exactly one argument | panic | error | mock, panic, matchedby, arity |
| actual value must not be NaN | validation | error | assertion, numeric, nan, in-epsilon |
| assert: arguments: Int | panic | error | mock, panic, arguments, type-assertion, int |
| assert: arguments: is not a func | panic | error | mock, panic, matchedby, func-argument |
| assert: arguments: does not return a bool | panic | error | mock, panic, matchedby, return-type, bool |